Add page prefix to subpage classes

master
Will Faught 5 months ago
parent c7508ad823
commit 75dce39c2b

@ -1130,23 +1130,23 @@ Page classes:
Subpage classes:
<dl>
<dt><code>.paige-page</code></dt>
<dd>A page.</dd>
<dt><code>.paige-page-authors</code></dt>
<dd>The page authors.</dd>
<dt><code>.paige-page-date</code></dt>
<dd>The page date.</dd>
<dt><code>.paige-description</code></dt>
<dt><code>.paige-page-description</code></dt>
<dd>The page description.</dd>
<dt><code>.paige-page-metadata</code></dt>
<dd>The page metadata.</dd>
<dt><code>.paige-page</code></dt>
<dd>A page.</dd>
<dt><code>.paige-page-reading-time</code></dt>
<dd>The page reading time.</dd>
<dt><code>.paige-page-series</code></dt>
<dd>The page series.</dd>
<dt><code>.paige-summary</code></dt>
<dt><code>.paige-page-summary</code></dt>
<dd>The page summary.</dd>
<dt><code>.paige-title</code></dt>
<dt><code>.paige-page-title</code></dt>
<dd>The page title.</dd>
<dt><code>.paige-page-word-count</code></dt>
<dd>The page word count.</dd>

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

@ -44,15 +44,15 @@
<div class="{{ $class }}">
{{ with $title }}
<p class="paige-row-short paige-title text-center"><a href="{{ $link }}">{{ . }}</a></p>
<p class="paige-row-short paige-page-title text-center"><a href="{{ $link }}">{{ . }}</a></p>
{{ end }}
{{ with $description }}
<p class="paige-description paige-row-short text-center">{{ . }}</p>
<p class="paige-page-description paige-row-short text-center">{{ . }}</p>
{{ end }}
{{ with $summary }}
<p class="fst-italic paige-row-short paige-summary text-center">{{ . }}</p>
<p class="fst-italic paige-row-short paige-page-summary text-center">{{ . }}</p>
{{ end }}
{{ with $keywords }}

Loading…
Cancel
Save