From 8973ea7edafc741febdb9821ea1707f1a9a143d1 Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 15 Jun 2022 23:47:15 +0200 Subject: [PATCH] small fixes --- themes/buha/layouts/index.html | 4 ++-- themes/buha/layouts/partials/layout/gen_list.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/buha/layouts/index.html b/themes/buha/layouts/index.html index 8c197f2d..029bee45 100644 --- a/themes/buha/layouts/index.html +++ b/themes/buha/layouts/index.html @@ -26,10 +26,10 @@ {{ if i18n $feat }} {{ $feat = i18n $feat }} {{ end }} -
+
{{ partial "layout/gen_list" (dict "context" . "pages" $featured "title" $feat "limit" "5" )}} {{ partial "layout/gen_list" (dict "context" . "pages" $posts "title" $news "link" "news" "limit" "5" )}} -
+ {{ end }} diff --git a/themes/buha/layouts/partials/layout/gen_list.html b/themes/buha/layouts/partials/layout/gen_list.html index 1621b42c..92ca6b95 100644 --- a/themes/buha/layouts/partials/layout/gen_list.html +++ b/themes/buha/layouts/partials/layout/gen_list.html @@ -13,7 +13,7 @@ {{ if $p }} -
+
{{ if $title }}

{{ if $link }} @@ -151,5 +151,5 @@ {{ if .paginate }} {{ partial "snippets/paginator" (dict "paginator" $paginator) }} {{ end }} -

+ {{ end }}