From 7f5457f380f9773dc696e6cdebb639b0205325df Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 14 Jul 2019 03:18:41 +0200 Subject: [PATCH] add reload shortcode reload site after n secounds --- layouts/shortcodes/reload.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 layouts/shortcodes/reload.html diff --git a/layouts/shortcodes/reload.html b/layouts/shortcodes/reload.html new file mode 100644 index 0000000..483de3b --- /dev/null +++ b/layouts/shortcodes/reload.html @@ -0,0 +1,13 @@ +{{ $seconds := .Get 0 }} +{{ $ms := ( printf "%s%s" $seconds "000" )}} +