tpl/diagrams: Rename Body to Inner

This relates to #9577 – there's no concept a body element in SVG, so we might as well use an exsisting "Hugo term".
This commit is contained in:
Bjørn Erik Pedersen
2022-02-27 13:36:58 +01:00
parent f7109771a0
commit 5f67151550
2 changed files with 11 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
{{ else }}
viewBox="0 0 {{ .Width }} {{ .Height }}"
{{ end }}>
{{ .Body }}
{{ .Inner }}
</svg>
{{ end }}
</div>