Create #paige-alert

This commit is contained in:
Will Faught
2024-07-12 22:47:52 -07:00
parent a32859ba92
commit c9e87a6088
2 changed files with 3 additions and 1 deletions

View File

@@ -982,6 +982,8 @@ Use CSS selectors to extend the default styling.
Page identifiers:
<dl>
<dt><code>#paige-alert</code></dt>
<dd>The page alert.</dd>
<dt><code>#paige-article</code></dt>
<dd>The article.</dd>
<dt><code>#paige-authors</code></dt>

View File

@@ -74,7 +74,7 @@
{{ end }}
{{ with $page.Param "paige.alert" }}
<div class="alert alert-{{ .type }} my-3" role="alert">{{ .message | markdownify }}</div>
<div class="alert alert-{{ .type }} my-3" id="paige-alert" role="alert">{{ .message | markdownify }}</div>
{{ end }}
{{ if and $page.Content (ne $page.TableOfContents `<nav id="TableOfContents"></nav>`) }}