Rename paige-page to paige-subpage
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ $flags = delimit ($flags | uniq) " " }}
|
||||
{{ $class := delimit (slice "mb-3" "paige-page" "w-100" | append $flags | uniq | sort) " " }}
|
||||
{{ $class := delimit (slice "mb-3" "paige-subpage" "w-100" | append $flags | uniq | sort) " " }}
|
||||
|
||||
<div class="{{ $class }}">
|
||||
{{ with $title }}
|
@@ -21,7 +21,7 @@
|
||||
{{ $pinned := where $page.Pages "Params.paige.pin" true }}
|
||||
|
||||
{{ range $pinned.ByPublishDate.Reverse }}
|
||||
{{ partial "paige/page.html" . }}
|
||||
{{ partial "paige/subpage.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ $unpinned := complement $pinned $page.Pages }}
|
||||
@@ -32,7 +32,7 @@
|
||||
<p class="h5 paige-date-header text-center">{{ .Key }}</p>
|
||||
|
||||
{{ range .Pages }}
|
||||
{{ partial "paige/page.html" . }}
|
||||
{{ partial "paige/subpage.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user