Create #paige-alert
This commit is contained in:
@@ -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>`) }}
|
||||||
|
Reference in New Issue
Block a user