small fixes
This commit is contained in:
parent
6af3672fdd
commit
8973ea7eda
|
@ -26,10 +26,10 @@
|
||||||
{{ if i18n $feat }}
|
{{ if i18n $feat }}
|
||||||
{{ $feat = i18n $feat }}
|
{{ $feat = i18n $feat }}
|
||||||
{{ end }}
|
{{ 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" $featured "title" $feat "limit" "5" )}}
|
||||||
{{ partial "layout/gen_list" (dict "context" . "pages" $posts "title" $news "link" "news" "limit" "5" )}}
|
{{ partial "layout/gen_list" (dict "context" . "pages" $posts "title" $news "link" "news" "limit" "5" )}}
|
||||||
</section>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
|
|
||||||
{{ if $p }}
|
{{ if $p }}
|
||||||
<div class="gen_list">
|
<section class="gen_list">
|
||||||
{{ if $title }}
|
{{ if $title }}
|
||||||
<h2 style="display: flex; align-items: baseline;">
|
<h2 style="display: flex; align-items: baseline;">
|
||||||
{{ if $link }}
|
{{ if $link }}
|
||||||
|
@ -151,5 +151,5 @@
|
||||||
{{ if .paginate }}
|
{{ if .paginate }}
|
||||||
{{ partial "snippets/paginator" (dict "paginator" $paginator) }}
|
{{ partial "snippets/paginator" (dict "paginator" $paginator) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue