forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
dd690b70b3
commit
9681cc41d1
|
@ -18,12 +18,12 @@
|
|||
</article>
|
||||
{{ end }}
|
||||
{{ if gt (len $featured) 0 }}
|
||||
<a href="/featured"><h2>{{if "featured" | i18n }}{{ "featured" | i18n }}{{ else }}{{ "Featured" }}{{ end }}</h2></a>
|
||||
<a href="/featured"><h2 style="margin-left: .5rem;">{{if "featured" | i18n }}{{ "featured" | i18n }}{{ else }}{{ "Featured" }}{{ end }}</h2></a>
|
||||
{{ partial "contentlayouts/list.html" (dict "context" . "pages" $featured "amount" "3" ) }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if gt (len $posts) 1 }}
|
||||
<a href="/news"><h2>{{ if "news" | i18n }}{{ "news" | i18n }}{{ else }}{{ "News" }}{{ end }}</h2></a>
|
||||
<a href="/news"><h2 style="margin-left: .5rem;">{{ if "news" | i18n }}{{ "news" | i18n }}{{ else }}{{ "News" }}{{ end }}</h2></a>
|
||||
{{ partial "contentlayouts/list.html" (dict "context" . "paginator" $paginator "amount" "5") }}
|
||||
|
||||
<div id="pagination_outer" style="display: flex; justify-content: center;">
|
||||
|
|
Loading…
Reference in New Issue