Add #paige-site-footer

This commit is contained in:
Will Faught
2024-07-12 13:11:52 -07:00
parent 424d85797f
commit e5865e7996
2 changed files with 14 additions and 8 deletions

View File

@@ -1059,6 +1059,8 @@ Page identifiers:
<dd>The series.</dd>
<dt><code>#paige-site-description</code></dt>
<dd>The site description.</dd>
<dt><code>#paige-site-footer</code></dt>
<dd>The container of the site copyright, license, and credit content.</dd>
<dt><code>#paige-site-title</code></dt>
<dd>The site title.</dd>
<dt><code>#paige-title</code></dt>

View File

@@ -62,16 +62,20 @@
</div>
{{ end }}
{{ with $copyright }}
<p class="mb-0" id="paige-copyright">{{ . }}</p>
{{ end }}
{{ if or $copyright $credit $license }}
<div class="mb-3" id="paige-site-footer">
{{ with $copyright }}
<p class="mb-0" id="paige-copyright">{{ . }}</p>
{{ end }}
{{ with $license }}
<p class="mb-0" id="paige-license">{{ . }}</p>
{{ end }}
{{ with $license }}
<p class="mb-0" id="paige-license">{{ . }}</p>
{{ end }}
{{ with $credit }}
<p class="mb-0" id="paige-credit">{{ . }}</p>
{{ with $credit }}
<p class="mb-0" id="paige-credit">{{ . }}</p>
{{ end }}
</div>
{{ end }}
{{ if templates.Exists "partials/paige/footer-last.html" }}