From 75dce39c2b8c3acde6c35ac100341c6c9726f17a Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 8 Feb 2025 23:06:13 -0800 Subject: [PATCH] Add page prefix to subpage classes --- README.md | 10 +++++----- exampleSite/content/customizations/style.md | 2 -- layouts/partials/paige/list-item.html | 6 +++--- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 26fa4113..7d0909dd 100644 --- a/README.md +++ b/README.md @@ -1130,23 +1130,23 @@ Page classes: Subpage classes:
+
.paige-page
+
A page.
.paige-page-authors
The page authors.
.paige-page-date
The page date.
-
.paige-description
+
.paige-page-description
The page description.
.paige-page-metadata
The page metadata.
-
.paige-page
-
A page.
.paige-page-reading-time
The page reading time.
.paige-page-series
The page series.
-
.paige-summary
+
.paige-page-summary
The page summary.
-
.paige-title
+
.paige-page-title
The page title.
.paige-page-word-count
The page word count.
diff --git a/exampleSite/content/customizations/style.md b/exampleSite/content/customizations/style.md index ffe95738..0c265dcb 100644 --- a/exampleSite/content/customizations/style.md +++ b/exampleSite/content/customizations/style.md @@ -8,7 +8,6 @@ tags = ["singles", "style"] title = "Style Data" [paige] style = """ -#paige-description, #paige-page-authors, #paige-page-content, #paige-page-date, @@ -102,7 +101,6 @@ This page has the following parameters: [paige] style = """ -#paige-description, #paige-page-authors, #paige-page-content, #paige-page-date, diff --git a/layouts/partials/paige/list-item.html b/layouts/partials/paige/list-item.html index 413afe2a..ea0d29f1 100644 --- a/layouts/partials/paige/list-item.html +++ b/layouts/partials/paige/list-item.html @@ -44,15 +44,15 @@
{{ with $title }} -

{{ . }}

+

{{ . }}

{{ end }} {{ with $description }} -

{{ . }}

+

{{ . }}

{{ end }} {{ with $summary }} -

{{ . }}

+

{{ . }}

{{ end }} {{ with $keywords }}