From 216993546eefd3c929921da41fee7ab3531957af Mon Sep 17 00:00:00 2001 From: teldra Date: Fri, 8 Jul 2022 13:59:39 +0200 Subject: [PATCH] small fixes --- themes/buha/layouts/index.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/themes/buha/layouts/index.html b/themes/buha/layouts/index.html index 344077f4..5a8b165e 100644 --- a/themes/buha/layouts/index.html +++ b/themes/buha/layouts/index.html @@ -34,10 +34,14 @@ {{ if i18n $feat }} {{ $feat = i18n $feat }} {{ end }} -
+ {{ if $featured }} +
+ {{ end }} {{ partial "snippets/gen_list" (dict "context" . "pages" $featured "title" $feat "limit" "5" )}} {{ partial "snippets/gen_list" (dict "context" . "pages" $posts "title" $news "link" "news" "limit" "5" )}} -
+ {{ if $featured }} +
+ {{ end }} {{ end }}