Order all pages by weight, date, title
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
{{ $flags := slice }}
|
||||
{{ $future := and $page.PublishDate (gt $page.PublishDate now) }}
|
||||
{{ $modified := and $page.PublishDate $page.Lastmod (lt $page.PublishDate $page.Lastmod) }}
|
||||
{{ $pinned := $page.Params.paige.pin }}
|
||||
{{ $readingtime := $page.ReadingTime }}
|
||||
{{ $series := $page.GetTerms "series" }}
|
||||
{{ $summary := $page.Summary | markdownify | plainify | htmlUnescape }}
|
||||
@@ -44,7 +43,7 @@
|
||||
|
||||
<div class="{{ $class }}">
|
||||
{{ with $title }}
|
||||
<p class="mb-0 paige-title text-center">{{ if $pinned -}} <i class="bi bi-pin-fill text-secondary" style="margin-left: -2.5ch; position: absolute"><span class="visually-hidden">{{ i18n "paige_pinned_page" }}</span></i> {{ end }}<a href="{{ $titlelink }}">{{ . }}</a></p>
|
||||
<p class="mb-0 paige-title text-center"><a href="{{ $titlelink }}">{{ . }}</a></p>
|
||||
{{ end }}
|
||||
|
||||
{{ with $description }}
|
||||
|
Reference in New Issue
Block a user