From fcbb2d73dba45e69e2b85118e1ed5c459a6ffd4c Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Fri, 8 Apr 2022 05:30:55 -0400 Subject: generators/hugo/_markup/render-codeblock-goat: Set default captions Remove proprietary font-family inline. --- .../themes/tdro/layouts/_default/_markup/render-codeblock-goat.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'generators') 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 }} {{ with diagrams.Goat .Inner }} -