Create #paige-alert

master
Will Faught 12 months ago
parent a32859ba92
commit c9e87a6088

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

@ -74,7 +74,7 @@
{{ end }} {{ end }}
{{ with $page.Param "paige.alert" }} {{ 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 }} {{ end }}
{{ if and $page.Content (ne $page.TableOfContents `<nav id="TableOfContents"></nav>`) }} {{ if and $page.Content (ne $page.TableOfContents `<nav id="TableOfContents"></nav>`) }}

Loading…
Cancel
Save