Чт 12 янв 2023 03:51:07 MSK

This commit is contained in:
NeonXP 2023-01-12 03:51:07 +03:00
parent 2eb1a65a11
commit 5f92ce095c
No known key found for this signature in database
GPG key ID: B0DA6283C40CB2CB
4 changed files with 27 additions and 34 deletions

View file

@ -1,21 +1,13 @@
---
kind: pipeline
type: docker
name: default
trigger:
branch:
- master
steps:
- name: Version check
image: jguyomard/hugo-builder
commands:
- echo "Checking Hugo version."
- hugo version
- name: Build
image: jguyomard/hugo-builder
commands:
- hugo --destination /drone/src/build
- minify -r -o /drone/src/build /drone/src/build
- name: build
image: plugins/hugo
settings:
hugo_version: 0.55
validate: true

View file

View file

@ -1,6 +0,0 @@
#!/bin/sh
hugo && rsync -avz public root@neonxp.dev:/var/www/neonxp.dev
rm -rf public
git add .
git commit -m "Post `date +'%Y-%m-%d'`" # 2019-08-28
git push

View file

@ -1,21 +1,28 @@
<div class="profile">
{{- with .Site.Params.profileMode }}
<div class="profile_inner">
{{- if .imageUrl}}<img src="{{ .imageUrl}}" alt="{{ .imageTitle | default "profile image" }}"
height="{{- .imageHeight | default 150 -}}" width="{{- .imageWidth | default 150 -}}" />{{- end}}
<h1>{{- .title | default $.Site.Title | markdownify -}}</h1>
<span>{{- .subtitle | markdownify -}}</span>
{{- partial "social_icons.html" $.Site.Params.socialIcons -}}
<div class="vcard">
<div class="profile_inner">
{{- if .imageUrl}}<img src="{{ .imageUrl}}" class="logo" alt="{{ .imageTitle | default " profile image" }}"
height="{{- .imageHeight | default 150 -}}" width="{{- .imageWidth | default 150 -}}" />{{- end}}
<h1>{{- .title | default $.Site.Title | markdownify -}}</h1>
<span>{{- .subtitle | markdownify -}}</span>
{{- partial "social_icons.html" $.Site.Params.socialIcons -}}
{{- with .buttons }}
<div class="buttons">
{{- range . -}}
<a class="button" href="{{ trim .url " " }}" rel="{{- .rel | default "noopener" -}}" title="{{ .name | humanize }}">
<span class="button-inner">{{ .name }}</span>
</a>
{{- end -}}
{{- with .buttons }}
<div class="buttons">
{{- range . -}}
<a class="button" href="{{ trim .url " " }}" rel="{{- .rel | default " noopener" -}}"
title="{{ .name | humanize }}">
<span class="button-inner">{{ .name }}</span>
</a>
{{- end -}}
</div>
{{- end }}
</div>
{{- end }}
<div class="nickname">NeonXP</div>
<div class="fn">Александр Кирюхин</div>
<a class="url" href="https://neonxp.dev/">https://neonxp.dev/</a>
<div>E-mail: <a class="email" href="mailto:i@neonxp.dev">i@neonxp.dev</span></div>
</div>
{{- end}}
</div>