From e346068f586b6011f3e665a552945e30dce12c25 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Thu, 26 Nov 2020 21:25:19 -0700 Subject: working out how to use longer code examples --- _layouts/code.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 _layouts/code.html (limited to '_layouts') diff --git a/_layouts/code.html b/_layouts/code.html new file mode 100644 index 0000000..18cfb3b --- /dev/null +++ b/_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