Files
bobatheme/layouts/_markup/render-image.html
2025-07-06 19:45:00 -05:00

13 lines
395 B
HTML

{{/* TODO: should we use .PageInner */}}
{{ partial "embed-resource.html" (.Page.Resources.Get .Destination) }}
{{ with .Title }}
{{ errorf "%q" . }}
{{ end }}
{{ with .Attributes }}
{{/* FIXME: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/_markup/render-image.html */}}
{{ errorf "%q" . }}
{{ end }}
{{ with .Text }}
{{ errorf "%q" . }}
{{ end }}