aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/opulene/layouts/_default/_markup/render-codeblock-goat.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/opulene/layouts/_default/_markup/render-codeblock-goat.html b/themes/opulene/layouts/_default/_markup/render-codeblock-goat.html
index e48a3b2..7176c2b 100644
--- a/themes/opulene/layouts/_default/_markup/render-codeblock-goat.html
+++ b/themes/opulene/layouts/_default/_markup/render-codeblock-goat.html
@@ -1,6 +1,7 @@
{{ $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"