From 5c086bc52fa3a226bcf706b1f420a5d98ea377dd Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 15 Dec 2021 10:45:58 +0100 Subject: Redo most of the blog in Hugo Missing posts will have to be added later --- layouts/shortcodes/admonition.html | 8 ++++++++ layouts/shortcodes/quote.html | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 layouts/shortcodes/admonition.html create mode 100644 layouts/shortcodes/quote.html (limited to 'layouts/shortcodes') 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 @@ +
+
+ {{ .Get "title" }} +
+
+ {{ .Inner | .Page.RenderString }} +
+
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 @@ +
+
+
+ {{ .Inner | .Page.RenderString }} +
+
+
+ — {{ .Get "attribution" }} +
+
-- cgit v1.1