Rename paige-page to paige-subpage

This commit is contained in:
Will Faught
2023-03-16 01:30:17 -07:00
parent 58ccb8454f
commit 9ce7d33c48
3 changed files with 5 additions and 5 deletions

View File

@@ -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 }}

View File

@@ -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>