small fixes
This commit is contained in:
parent
6af3672fdd
commit
8973ea7eda
|
@ -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 }}
|
||||
|
||||
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue