summaryrefslogtreecommitdiffstats
path: root/site/layouts/shortcodes/year.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/layouts/shortcodes/year.html')
-rw-r--r--site/layouts/shortcodes/year.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/site/layouts/shortcodes/year.html b/site/layouts/shortcodes/year.html
new file mode 100644
index 0000000..db7f18e
--- /dev/null
+++ b/site/layouts/shortcodes/year.html
@@ -0,0 +1,3 @@
+{{- /* Outputs the current year */ -}}
+
+{{- now.Format "2006" -}}