small fixes

This commit is contained in:
teldra 2022-07-08 13:59:39 +02:00
parent d48ebf17c4
commit 216993546e
1 changed files with 6 additions and 2 deletions

View File

@ -34,10 +34,14 @@
{{ if i18n $feat }}
{{ $feat = i18n $feat }}
{{ end }}
<div class="two_lists">
{{ if $featured }}
<div class="two_lists">
{{ 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" )}}
</div>
{{ if $featured }}
</div>
{{ end }}
{{ end }}