diff --git a/.drone.yml b/.drone.yml index 35348bf..6c0a697 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/.hugo_build.lock b/.hugo_build.lock deleted file mode 100644 index e69de29..0000000 diff --git a/deploy.sh b/deploy.sh deleted file mode 100755 index 5642925..0000000 --- a/deploy.sh +++ /dev/null @@ -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 diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html index 2eefa19..5ba55e1 100644 --- a/layouts/partials/index_profile.html +++ b/layouts/partials/index_profile.html @@ -1,21 +1,28 @@
{{- with .Site.Params.profileMode }} -
- {{- if .imageUrl}}{{ .imageTitle | default {{- end}} -

{{- .title | default $.Site.Title | markdownify -}}

- {{- .subtitle | markdownify -}} - {{- partial "social_icons.html" $.Site.Params.socialIcons -}} +
+
+ {{- if .imageUrl}}{{- end}} +

{{- .title | default $.Site.Title | markdownify -}}

+ {{- .subtitle | markdownify -}} + {{- partial "social_icons.html" $.Site.Params.socialIcons -}} - {{- with .buttons }} -
- {{- range . -}} - - {{ .name }} - - {{- end -}} + {{- with .buttons }} +
+ {{- range . -}} + + {{ .name }} + + {{- end -}} +
+ {{- end }}
- {{- end }} +
NeonXP
+
Александр Кирюхин
+ https://neonxp.dev/ +
E-mail:
\ No newline at end of file