Add page prefix to subpage classes

master
Will Faught 5 months ago
parent c7508ad823
commit 75dce39c2b

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

@ -8,7 +8,6 @@ tags = ["singles", "style"]
title = "Style Data" title = "Style Data"
[paige] [paige]
style = """ style = """
#paige-description,
#paige-page-authors, #paige-page-authors,
#paige-page-content, #paige-page-content,
#paige-page-date, #paige-page-date,
@ -102,7 +101,6 @@ This page has the following parameters:
[paige] [paige]
style = """ style = """
#paige-description,
#paige-page-authors, #paige-page-authors,
#paige-page-content, #paige-page-content,
#paige-page-date, #paige-page-date,

@ -44,15 +44,15 @@
<div class="{{ $class }}"> <div class="{{ $class }}">
{{ with $title }} {{ 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 }} {{ end }}
{{ with $description }} {{ with $description }}
<p class="paige-description paige-row-short text-center">{{ . }}</p> <p class="paige-page-description paige-row-short text-center">{{ . }}</p>
{{ end }} {{ end }}
{{ with $summary }} {{ 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 }} {{ end }}
{{ with $keywords }} {{ with $keywords }}

Loading…
Cancel
Save