From 07c2d4118a04be658f7e4c1ff7a2e96824d43968 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Fri, 24 Mar 2023 14:56:10 +0100 Subject: [PATCH] Add tag shortcode --- layouts/partials/custom-header.html | 15 +++++++++++++++ layouts/shortcodes/tag.html | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 layouts/shortcodes/tag.html diff --git a/layouts/partials/custom-header.html b/layouts/partials/custom-header.html index 433920d..8089592 100644 --- a/layouts/partials/custom-header.html +++ b/layouts/partials/custom-header.html @@ -1 +1,16 @@ + diff --git a/layouts/shortcodes/tag.html b/layouts/shortcodes/tag.html new file mode 100644 index 0000000..46a0154 --- /dev/null +++ b/layouts/shortcodes/tag.html @@ -0,0 +1,2 @@ +{{ $_hugo_config := `{ "version": 1 }` }} +
{{ .Inner }}