diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/layouts/_default/_markup/render-codeblock-goat.html | 18 |
1 files changed, 0 insertions, 18 deletions
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 b1e57e94a..000000000 --- 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 "" }} -<div class="goat svg-container {{ $class }}"> - {{ with diagrams.Goat .Code }} - <svg - xmlns="http://www.w3.org/2000/svg" - font-family="Menlo,Lucida Console,monospace" - {{ if or $width $height }} - {{ with $width }}width="{{ . }}"{{ end }} - {{ with $height }}height="{{ . }}"{{ end }} - {{ else }} - viewBox="0 0 {{ .Width }} {{ .Height }}" - {{ end }}> - {{ .Body }} - </svg> - {{ end }} -</div> |