small fixes

This commit is contained in:
teldra 2022-06-15 23:47:15 +02:00
parent 6af3672fdd
commit 8973ea7eda
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -13,7 +13,7 @@
{{ if $p }}
<div class="gen_list">
<section class="gen_list">
{{ if $title }}
<h2 style="display: flex; align-items: baseline;">
{{ if $link }}
@ -151,5 +151,5 @@
{{ if .paginate }}
{{ partial "snippets/paginator" (dict "paginator" $paginator) }}
{{ end }}
</div>
</section>
{{ end }}