diff --git a/themes/vanilla/layouts/shortcodes/codeblock b/themes/vanilla/layouts/shortcodes/codeblock new file mode 100644 index 0000000..3982d6b --- /dev/null +++ b/themes/vanilla/layouts/shortcodes/codeblock @@ -0,0 +1 @@ +{{ highlight (readFile (printf "code/%s" (.Get 1))) (.Get 0) "" }} diff --git a/themes/vanilla/layouts/shortcodes/rawblock b/themes/vanilla/layouts/shortcodes/rawblock new file mode 100644 index 0000000..3352ce0 --- /dev/null +++ b/themes/vanilla/layouts/shortcodes/rawblock @@ -0,0 +1 @@ +
{{ readFile (printf "code/%s" (.Get 0)) }}