diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-04-08 05:30:55 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-04-08 05:30:55 -0400 |
commit | fcbb2d73dba45e69e2b85118e1ed5c459a6ffd4c (patch) | |
tree | e838bebe2d57186021e19afea39527b7969414f2 /generators | |
parent | 1174512e336a8bd17bef80a4fb968125dc34c93c (diff) | |
download | thedroneely.com-fcbb2d73dba45e69e2b85118e1ed5c459a6ffd4c.tar.gz thedroneely.com-fcbb2d73dba45e69e2b85118e1ed5c459a6ffd4c.tar.bz2 thedroneely.com-fcbb2d73dba45e69e2b85118e1ed5c459a6ffd4c.zip |
generators/hugo/_markup/render-codeblock-goat: Set default captions
Remove proprietary font-family inline.
Diffstat (limited to 'generators')
-rw-r--r-- | generators/hugo/themes/tdro/layouts/_default/_markup/render-codeblock-goat.html | 4 |
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 }} |