forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
6d97db41d8
commit
aa4fabfafe
|
@ -10,7 +10,7 @@
|
||||||
{{ $meta := false }}
|
{{ $meta := false }}
|
||||||
{{- $posts := where (where .Site.RegularPages "Permalink" "!=" .Permalink) "Type" "in" $s.mainSections }}
|
{{- $posts := where (where .Site.RegularPages "Permalink" "!=" .Permalink) "Type" "in" $s.mainSections }}
|
||||||
{{- $paginator := slice -}}
|
{{- $paginator := slice -}}
|
||||||
{{- $paginator = .Paginate $posts.ByLastmod.Reverse -}}
|
{{- $paginator = .Paginate $posts.ByDate.Reverse -}}
|
||||||
<!-- <a href="/featured"><h2>{{ "featured" | T }}</h2></a> -->
|
<!-- <a href="/featured"><h2>{{ "featured" | T }}</h2></a> -->
|
||||||
{{ if eq $paginator.PageNumber 1 }}
|
{{ if eq $paginator.PageNumber 1 }}
|
||||||
{{ if ne .Content "" }}
|
{{ if ne .Content "" }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user