From f1998c321a4eec6d75b58d84aa8610971bf21979 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sat, 31 Jul 2021 11:35:39 -0600 Subject: move static files into static sub-dir, refactor nix a bit --- static/src/_layouts/code.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 static/src/_layouts/code.html (limited to 'static/src/_layouts/code.html') diff --git a/static/src/_layouts/code.html b/static/src/_layouts/code.html new file mode 100644 index 0000000..18cfb3b --- /dev/null +++ b/static/src/_layouts/code.html @@ -0,0 +1,10 @@ +--- +layout: default +--- + +{% capture body %}```{{ page.lang | default: "go" }} +{% include_relative {{ page.include }} %}```{% endcapture %} + +
Raw source file + +{{ body | markdownify }} -- cgit v1.2.3