diff --git a/layouts/shortcodes/on-off.html b/layouts/shortcodes/on-off.html new file mode 100644 index 0000000..e2d2308 --- /dev/null +++ b/layouts/shortcodes/on-off.html @@ -0,0 +1,8 @@ +{{ $mode := .Get 0 }} +{{ if eq $mode "on" }} + On +{{ else if eq $mode "off"}} + Off +{{ else }} + ??? +{{end}}