small fixes

This commit is contained in:
teldra 2022-03-28 12:08:00 +02:00
parent 6d97db41d8
commit aa4fabfafe
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
{{ $meta := false }}
{{- $posts := where (where .Site.RegularPages "Permalink" "!=" .Permalink) "Type" "in" $s.mainSections }}
{{- $paginator := slice -}}
{{- $paginator = .Paginate $posts.ByLastmod.Reverse -}}
{{- $paginator = .Paginate $posts.ByDate.Reverse -}}
<!-- <a href="/featured"><h2>{{ "featured" | T }}</h2></a> -->
{{ if eq $paginator.PageNumber 1 }}
{{ if ne .Content "" }}