{{ if ne (.Page.Scratch.Get "hasPlantUML") true }}
{{ $js_bundle :=
slice
(resources.Get "js/lib/plantuml-encoder.js")
(resources.Get "js/plantuml-encoder.js")
| resources.Concat "js/plantuml-bundle.js" | minify | fingerprint }}
{{ .Page.Scratch.Set "hasPlantUML" true }}
{{ end }}
{{ .Inner | safeHTML | htmlUnescape }}