From: Bjørn Erik Pedersen Date: Thu, 24 Feb 2022 23:09:07 +0000 (+0100) Subject: Move the Goat template to the correct place X-Git-Tag: v0.93.0~22 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1a257bb2ba6fa90f5fcba600d086b34a4fde9a2c;p=brevno-suite%2Fhugo Move the Goat template to the correct place Updates #7765 --- diff --git a/docs/layouts/_default/_markup/render-codeblock-goat.html b/docs/layouts/_default/_markup/render-codeblock-goat.html deleted file mode 100644 index b1e57e94..00000000 --- a/docs/layouts/_default/_markup/render-codeblock-goat.html +++ /dev/null @@ -1,18 +0,0 @@ -{{ $width := .Attributes.width }} -{{ $height := .Attributes.height }} -{{ $class := .Attributes.class | default "" }} -
- {{ with diagrams.Goat .Code }} - - {{ .Body }} - - {{ end }} -
diff --git a/tpl/tplimpl/embedded/templates/_default/_markup/render-codeblock-goat.html b/tpl/tplimpl/embedded/templates/_default/_markup/render-codeblock-goat.html index 7c2b99f3..b1e57e94 100644 --- a/tpl/tplimpl/embedded/templates/_default/_markup/render-codeblock-goat.html +++ b/tpl/tplimpl/embedded/templates/_default/_markup/render-codeblock-goat.html @@ -1 +1,18 @@ -adf +{{ $width := .Attributes.width }} +{{ $height := .Attributes.height }} +{{ $class := .Attributes.class | default "" }} +
+ {{ with diagrams.Goat .Code }} + + {{ .Body }} + + {{ end }} +