diff --git a/themes/buha/layouts/index.html b/themes/buha/layouts/index.html index 8c197f2..029bee4 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 1621b42..92ca6b9 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 }}