mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
89b0e01e66
Make sure separate elements are part of each other so only a single element is at the top level.
8 lines
285 B
HTML
8 lines
285 B
HTML
{{- $type := "picture" -}}
|
|
{{- with .Get "type" -}}
|
|
{{- $type = . -}}
|
|
{{- end -}}
|
|
|
|
<article aria-label="{{ $type }}, caption, and transcript" itemprop="mentions" itemscope itemtype="https://schema.org/ImageObject" id="{{ .Get "id" }}">
|
|
{{ .Inner | markdownify | safeHTML }}
|
|
</article>
|