From dd2227e55e4b1be1b94bdb0de888ffe6582662e2 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Thu, 16 Mar 2023 01:40:12 -0700 Subject: [PATCH] Rename paige-terms to paige-keywords --- README.md | 14 +++++++------- exampleSite/content/customization/_index.md | 12 ++++++------ exampleSite/content/customization/show.md | 12 ++++++------ exampleSite/content/customization/style.md | 16 ++++++++-------- .../layouts/partials/paige/style-first.css | 6 +++--- layouts/partials/paige/metadata.html | 2 +- layouts/partials/paige/subpage.html | 2 +- 7 files changed, 32 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 37ac738c..fe7837d4 100644 --- a/README.md +++ b/README.md @@ -767,6 +767,8 @@ Page identifiers:
The footer.
#paige-header
The header.
+
#paige-keywords
+
The keywords.
#paige-main
The main.
#paige-pagination
@@ -779,8 +781,6 @@ Page identifiers:
The series.
#paige-subpages
The sub-pages.
-
#paige-terms
-
The terms.
#paige-title
The title.
#paige-toc
@@ -802,6 +802,8 @@ Page and sub-page classes:
The date headers.
.paige-description
The description.
+
.paige-keywords
+
The keywords.
.paige-metadata
The metadata.
.paige-summary
@@ -814,8 +816,6 @@ Page and sub-page classes:
A sub-page.
.paige-term
A term.
-
.paige-terms
-
The terms.
.paige-title
The title.
.paige-toc
@@ -884,16 +884,16 @@ try the following in your `layouts/partials/paige/style-first.css`: ```css #paige-authors, #paige-credit, +#paige-keywords, #paige-reading-time, #paige-series, -#paige-terms, #paige-toc, #paige-subpages .paige-authors, #paige-subpages .paige-date, +#paige-subpages .paige-keywords, #paige-subpages .paige-reading-time, #paige-subpages .paige-series, -#paige-subpages .paige-summary, -#paige-subpages .paige-terms { +#paige-subpages .paige-summary { display: none; } diff --git a/exampleSite/content/customization/_index.md b/exampleSite/content/customization/_index.md index 85b1acc2..40f640de 100644 --- a/exampleSite/content/customization/_index.md +++ b/exampleSite/content/customization/_index.md @@ -8,17 +8,17 @@ paige: #paige-authors, #paige-credit, #paige-date, + #paige-keywords, #paige-reading-time, #paige-series, - #paige-terms, #paige-toc, #paige-subpages .paige-authors, #paige-subpages .paige-date, #paige-subpages .paige-date-header, + #paige-subpages .paige-keywords, #paige-subpages .paige-reading-time, #paige-subpages .paige-series, - #paige-subpages .paige-summary, - #paige-subpages .paige-terms { + #paige-subpages .paige-summary { display: block; } series: ["demo"] @@ -40,17 +40,17 @@ paige: #paige-authors, #paige-credit, #paige-date, + #paige-keywords, #paige-reading-time, #paige-series, - #paige-terms, #paige-toc, #paige-subpages .paige-authors, #paige-subpages .paige-date, #paige-subpages .paige-date-header, + #paige-subpages .paige-keywords, #paige-subpages .paige-reading-time, #paige-subpages .paige-series, - #paige-subpages .paige-summary, - #paige-subpages .paige-terms { + #paige-subpages .paige-summary { display: block; } ``` diff --git a/exampleSite/content/customization/show.md b/exampleSite/content/customization/show.md index 9600d73f..05051c48 100644 --- a/exampleSite/content/customization/show.md +++ b/exampleSite/content/customization/show.md @@ -8,17 +8,17 @@ paige: #paige-authors, #paige-credit, #paige-date, + #paige-keywords, #paige-reading-time, #paige-series, - #paige-terms, #paige-toc, #paige-subpages .paige-authors, #paige-subpages .paige-date, #paige-subpages .paige-date-header, + #paige-subpages .paige-keywords, #paige-subpages .paige-reading-time, #paige-subpages .paige-series, - #paige-subpages .paige-summary, - #paige-subpages .paige-terms { + #paige-subpages .paige-summary { display: block; } series: ["demo"] @@ -40,17 +40,17 @@ paige: #paige-authors, #paige-credit, #paige-date, + #paige-keywords, #paige-reading-time, #paige-series, - #paige-terms, #paige-toc, #paige-subpages .paige-authors, #paige-subpages .paige-date, #paige-subpages .paige-date-header, + #paige-subpages .paige-keywords, #paige-subpages .paige-reading-time, #paige-subpages .paige-series, - #paige-subpages .paige-summary, - #paige-subpages .paige-terms { + #paige-subpages .paige-summary { display: block; } ``` diff --git a/exampleSite/content/customization/style.md b/exampleSite/content/customization/style.md index 397a3cb5..e8d611fb 100644 --- a/exampleSite/content/customization/style.md +++ b/exampleSite/content/customization/style.md @@ -8,26 +8,26 @@ paige: #paige-authors, #paige-credit, #paige-date, + #paige-keywords, #paige-reading-time, #paige-series, - #paige-terms, #paige-toc, #paige-subpages .paige-authors, #paige-subpages .paige-date, #paige-subpages .paige-date-header, + #paige-subpages .paige-keywords, #paige-subpages .paige-reading-time, #paige-subpages .paige-series, - #paige-subpages .paige-summary, - #paige-subpages .paige-terms { + #paige-subpages .paige-summary { display: block; } #paige-authors { font-style: italic; } #paige-content { font-style: italic; } #paige-date { font-style: italic; } #paige-description { font-style: italic; } + #paige-keywords { font-style: italic; } #paige-reading-time { font-style: italic; } #paige-series { font-style: italic; } - #paige-terms { font-style: italic; } #paige-title { font-style: italic; } #paige-toc { font-style: italic; } #paige-copyright { font-style: italic; } @@ -58,26 +58,26 @@ paige: #paige-authors, #paige-credit, #paige-date, + #paige-keywords, #paige-reading-time, #paige-series, - #paige-terms, #paige-toc, #paige-subpages .paige-authors, #paige-subpages .paige-date, #paige-subpages .paige-date-header, + #paige-subpages .paige-keywords, #paige-subpages .paige-reading-time, #paige-subpages .paige-series, - #paige-subpages .paige-summary, - #paige-subpages .paige-terms { + #paige-subpages .paige-summary { display: block; } #paige-authors { font-style: italic; } #paige-content { font-style: italic; } #paige-date { font-style: italic; } #paige-description { font-style: italic; } + #paige-keywords { font-style: italic; } #paige-reading-time { font-style: italic; } #paige-series { font-style: italic; } - #paige-terms { font-style: italic; } #paige-title { font-style: italic; } #paige-toc { font-style: italic; } #paige-copyright { font-style: italic; } diff --git a/exampleSite/layouts/partials/paige/style-first.css b/exampleSite/layouts/partials/paige/style-first.css index 74678c9d..eb38f94f 100644 --- a/exampleSite/layouts/partials/paige/style-first.css +++ b/exampleSite/layouts/partials/paige/style-first.css @@ -1,16 +1,16 @@ #paige-authors, #paige-credit, #paige-date, +#paige-keywords, #paige-reading-time, #paige-series, -#paige-terms, #paige-toc, #paige-subpages .paige-authors, #paige-subpages .paige-date, #paige-subpages .paige-date-header, +#paige-subpages .paige-keywords, #paige-subpages .paige-reading-time, #paige-subpages .paige-series, -#paige-subpages .paige-summary, -#paige-subpages .paige-terms { +#paige-subpages .paige-summary { display: none; } diff --git a/layouts/partials/paige/metadata.html b/layouts/partials/paige/metadata.html index ebab7839..5d8673d0 100644 --- a/layouts/partials/paige/metadata.html +++ b/layouts/partials/paige/metadata.html @@ -37,7 +37,7 @@ {{ end }} {{ if or $categories $tags }} -

+

{{ $terms := slice }} {{ range $categories }} diff --git a/layouts/partials/paige/subpage.html b/layouts/partials/paige/subpage.html index fdd0db4e..bc4f5b5d 100644 --- a/layouts/partials/paige/subpage.html +++ b/layouts/partials/paige/subpage.html @@ -60,7 +60,7 @@ {{ end }} {{ if or $categories $tags }} -

+

{{ $terms := slice }} {{ range $categories }}