From 70ed284bfb759fa134abd6251f83b8e3e4ae6090 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Mon, 9 May 2022 02:01:50 +0200 Subject: Add shortcodes --- layouts/shortcodes/abbr.html | 2 ++ layouts/shortcodes/br.html | 1 + layouts/shortcodes/year.html | 1 + 3 files changed, 4 insertions(+) create mode 100644 layouts/shortcodes/abbr.html create mode 100644 layouts/shortcodes/year.html (limited to 'layouts/shortcodes') diff --git a/layouts/shortcodes/abbr.html b/layouts/shortcodes/abbr.html new file mode 100644 index 0000000..cee5c3d --- /dev/null +++ b/layouts/shortcodes/abbr.html @@ -0,0 +1,2 @@ + +{{ .Get "text" }} diff --git a/layouts/shortcodes/br.html b/layouts/shortcodes/br.html index 0ca25d9..4e84243 100644 --- a/layouts/shortcodes/br.html +++ b/layouts/shortcodes/br.html @@ -1 +1,2 @@ +
diff --git a/layouts/shortcodes/year.html b/layouts/shortcodes/year.html new file mode 100644 index 0000000..6b40db5 --- /dev/null +++ b/layouts/shortcodes/year.html @@ -0,0 +1 @@ +{{ now.Format "2006" }} -- cgit v1.2.3