Rename subpage to page

This commit is contained in:
Will Faught
2023-03-19 17:51:48 -07:00
parent 0b6aeaf775
commit e24aa20c04
10 changed files with 72 additions and 72 deletions

View File

@@ -44,7 +44,7 @@
{{ end }}
{{ $flags = delimit ($flags | uniq) " " }}
{{ $class := delimit (slice "mb-3" "paige-subpage" "w-100" | append $flags | uniq | sort) " " }}
{{ $class := delimit (slice "mb-3" "paige-page" "w-100" | append $flags | uniq | sort) " " }}
<div class="{{ $class }}">
{{ with $title }}

View File

@@ -11,7 +11,7 @@
{{ end }}
{{ range $k, $v := . }}
{{ partial "paige/subpage.html" (site.GetPage $k) }}
{{ partial "paige/page.html" (site.GetPage $k) }}
{{ end }}
</div>
{{ end }}
@@ -23,7 +23,7 @@
{{ end }}
{{ range . }}
{{ partial "paige/subpage.html" . }}
{{ partial "paige/page.html" . }}
{{ end }}
</div>
{{ end }}
@@ -57,7 +57,7 @@
{{ $pinned := where . "Params.paige.pin" true }}
{{ range $pinned.ByPublishDate.Reverse }}
{{ partial "paige/subpage.html" . }}
{{ partial "paige/page.html" . }}
{{ end }}
{{ $unpinned := complement $pinned . }}
@@ -68,7 +68,7 @@
<h3 class="h5 paige-date-header text-center">{{ .Key }}</h3>
{{ range .Pages }}
{{ partial "paige/subpage.html" . }}
{{ partial "paige/page.html" . }}
{{ end }}
{{ end }}
</div>