Add CSS IDs for site description, title
This commit is contained in:
@@ -970,6 +970,10 @@ Page identifiers:
|
||||
<dd>The sections header.</dd>
|
||||
<dt><code>#paige-series</code></dt>
|
||||
<dd>The series.</dd>
|
||||
<dt><code>#paige-site-description</code></dt>
|
||||
<dd>The site description.</dd>
|
||||
<dt><code>#paige-site-title</code></dt>
|
||||
<dd>The site title.</dd>
|
||||
<dt><code>#paige-title</code></dt>
|
||||
<dd>The title.</dd>
|
||||
<dt><code>#paige-toc</code></dt>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
{{ $page := . }}
|
||||
|
||||
{{ with $page.Param "paige.site_title" }}
|
||||
<p class="display-1 fw-bold mb-2 text-center">{{ . | markdownify }}</p>
|
||||
<p class="display-1 fw-bold mb-2 text-center" id="paige-site-title">{{ . | markdownify }}</p>
|
||||
{{ end }}
|
||||
{{ with $page.Param "paige.site_description" }}
|
||||
<p class="lead text-center">{{ . | markdownify }}</p>
|
||||
<p class="lead text-center" id="paige-site-description">{{ . | markdownify }}</p>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user