From 240ad6da96295f51484efe54273531fd74ae3524 Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 15 Jun 2022 00:29:54 +0200 Subject: [PATCH] small fixes --- themes/buha/layouts/index.html | 2 +- themes/buha/layouts/partials/snippets/footer.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/buha/layouts/index.html b/themes/buha/layouts/index.html index ef964dfb..73dca427 100644 --- a/themes/buha/layouts/index.html +++ b/themes/buha/layouts/index.html @@ -27,7 +27,7 @@ {{ $feat = i18n $feat }} {{ end }}
- {{ partial "layout/gen_list" (dict "context" . "pages" $featured "title" $feat )}} + {{ partial "layout/gen_list" (dict "context" . "pages" $featured "title" $feat "limit" "5" )}} {{ partial "layout/gen_list" (dict "context" . "pages" $posts "title" $news "limit" "5" )}}
{{ end }} diff --git a/themes/buha/layouts/partials/snippets/footer.html b/themes/buha/layouts/partials/snippets/footer.html index 2a4ee9c6..cb7038a5 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 -}}