diff options
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/admonition.html | 8 | ||||
-rw-r--r-- | layouts/shortcodes/quote.html | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/layouts/shortcodes/admonition.html b/layouts/shortcodes/admonition.html new file mode 100644 index 0000000..f25b9ff --- /dev/null +++ b/layouts/shortcodes/admonition.html @@ -0,0 +1,8 @@ +<section class="admonition"> + <div class="admonition-title"> + {{ .Get "title" }} + </div> + <div class="admonition-content"> + {{ .Inner | .Page.RenderString }} + </div> +</section> diff --git a/layouts/shortcodes/quote.html b/layouts/shortcodes/quote.html new file mode 100644 index 0000000..f2d9c4c --- /dev/null +++ b/layouts/shortcodes/quote.html @@ -0,0 +1,10 @@ +<div class="quoteblock"> + <blockquote> + <div class="paragraph"> + {{ .Inner | .Page.RenderString }} + </div> + </blockquote> + <div class="attribution"> + — {{ .Get "attribution" }} + </div> +</div> |