From cf3425a5e9bec868ad2c985d4943d74fa405f665 Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 15 Jun 2022 00:37:18 +0200 Subject: [PATCH] small fixes --- themes/buha/assets/scss/footer.scss | 8 +++++--- themes/buha/layouts/partials/snippets/footer.html | 14 +++++++------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/themes/buha/assets/scss/footer.scss b/themes/buha/assets/scss/footer.scss index 4d6fd048..f1c4e256 100644 --- a/themes/buha/assets/scss/footer.scss +++ b/themes/buha/assets/scss/footer.scss @@ -8,11 +8,13 @@ margin-left: auto; margin-right: auto; flex-direction: column-reverse; - div { - margin-top: 1rem; - } .infobox { + display: flex; + flex-direction: column; text-align: center; + a { + margin-top: 1em; + } } } diff --git a/themes/buha/layouts/partials/snippets/footer.html b/themes/buha/layouts/partials/snippets/footer.html index cb7038a5..f6f37fe6 100644 --- a/themes/buha/layouts/partials/snippets/footer.html +++ b/themes/buha/layouts/partials/snippets/footer.html @@ -4,7 +4,7 @@ {{ if i18n "contact" }} {{ $contact = i18n "contact" }} {{ end }} -
{{- $contact | strings.FirstUpper -}}:
+ {{- $contact | strings.FirstUpper -}}: {{- partial "snippets/contact" -}} {{- end -}} @@ -15,16 +15,16 @@ {{ if i18n "archive" }} {{ $archive = i18n "archive" }} {{ end }} - {{- $archive | strings.FirstUpper -}}

+ {{- $archive | strings.FirstUpper -}} {{- end -}} {{- if eq site.Params.newsletter true -}} {{ $newsletter := "Newsletter" }} {{ if i18n "newsletter" }} {{ $newsletter = i18n "newsletter" }} {{ end }} - {{- $newsletter | strings.FirstUpper -}}

+ {{- $newsletter | strings.FirstUpper -}} {{- end -}} - Misc

+ Misc
@@ -33,21 +33,21 @@ {{ if i18n "imprint" }} {{ $imprint = i18n "imprint" }} {{ end }} - {{- $imprint | strings.FirstUpper -}}

+ {{- $imprint | strings.FirstUpper -}} {{- end -}} {{- if eq site.Params.links true -}} {{ $links := "Links" }} {{ if i18n "links" }} {{ $links = i18n "links" }} {{ end }} - {{- $links | strings.FirstUpper -}}

+ {{- $links | strings.FirstUpper -}} {{- end -}} {{- if not (or (eq .Section "featured") (eq .Section "about")) -}} {{- with .OutputFormats.Get "rss" -}} {{- if .Permalink -}} {{- printf `` .Permalink | safeHTML -}} {{- end -}} - RSS

+ RSS {{- end -}} {{ end }} Sourcecode