aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-22 22:06:21 +0100
committerJulien Dessaux2021-03-22 22:06:21 +0100
commite960153727b71da8f7dcb300db1f49775fd64e4c (patch)
treeeab2cf76a334288ef23b2ccaf97f028061671bad /layouts/shortcodes
parentContinued importing some old wiki content (diff)
downloadwww-e960153727b71da8f7dcb300db1f49775fd64e4c.tar.gz
www-e960153727b71da8f7dcb300db1f49775fd64e4c.tar.bz2
www-e960153727b71da8f7dcb300db1f49775fd64e4c.zip
Added a hugo markdown shortcode to automatically calculate my age
Diffstat (limited to '')
-rw-r--r--layouts/shortcodes/age.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/age.html b/layouts/shortcodes/age.html
new file mode 100644
index 0000000..fcf6d13
--- /dev/null
+++ b/layouts/shortcodes/age.html
@@ -0,0 +1 @@
+{{ div (sub now.Unix 493473600 ) 31556926 }}