aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/_default/_markup/render-codeblock-goat.html
diff options
context:
space:
mode:
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/_default/_markup/render-codeblock-goat.html')
-rw-r--r--generators/hugo/themes/tdro/layouts/_default/_markup/render-codeblock-goat.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/generators/hugo/themes/tdro/layouts/_default/_markup/render-codeblock-goat.html b/generators/hugo/themes/tdro/layouts/_default/_markup/render-codeblock-goat.html
index db8d8f2..d2d0753 100644
--- a/generators/hugo/themes/tdro/layouts/_default/_markup/render-codeblock-goat.html
+++ b/generators/hugo/themes/tdro/layouts/_default/_markup/render-codeblock-goat.html
@@ -1,9 +1,9 @@
{{ $width := .Attributes.width }}
{{ $height := .Attributes.height }}
-{{ $caption := .Attributes.caption }}
+{{ $caption := default "GoAT Diagram" .Attributes.caption }}
<diagram-container>
{{ with diagrams.Goat .Inner }}
- <svg font-family="'Fira Code', 'Lucida Console', 'Andale Mono', monospace"
+ <svg
xmlns="http://www.w3.org/2000/svg"
{{ if or $width $height }}
{{ with $width }}width="{{ . }}"{{ end }}