diff --git a/README.md b/README.md index a44ae16d..5677cf5d 100644 --- a/README.md +++ b/README.md @@ -804,14 +804,14 @@ Page and sub-page classes:
The description.
.paige-metadata
The metadata.
-
.paige-page
-
A sub-page.
.paige-summary
The summary.
.paige-reading-time
The reading time.
.paige-series
The series.
+
.paige-subpage
+
A sub-page.
.paige-term
A term.
.paige-terms
diff --git a/layouts/partials/paige/page.html b/layouts/partials/paige/subpage.html similarity index 97% rename from layouts/partials/paige/page.html rename to layouts/partials/paige/subpage.html index e4704d7f..fdd0db4e 100644 --- a/layouts/partials/paige/page.html +++ b/layouts/partials/paige/subpage.html @@ -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) " " }}
{{ with $title }} diff --git a/layouts/partials/paige/subpages.html b/layouts/partials/paige/subpages.html index 04088572..35c51def 100644 --- a/layouts/partials/paige/subpages.html +++ b/layouts/partials/paige/subpages.html @@ -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 @@

{{ .Key }}

{{ range .Pages }} - {{ partial "paige/page.html" . }} + {{ partial "paige/subpage.html" . }} {{ end }} {{ end }}