diff options
author | Patrick Spek <p.spek@tyil.nl> | 2021-12-15 10:45:58 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-12-15 10:45:58 +0100 |
commit | 5c086bc52fa3a226bcf706b1f420a5d98ea377dd (patch) | |
tree | da5b28238542247efbe36c49cbc6cfd4e49f3e36 /layouts/shortcodes | |
parent | 64e0495846f8b680288280920cba6bcb28e4092f (diff) |
Redo most of the blog in Hugo
Missing posts will have to be added later
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> |