mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
a9039e1bde
- Use section instead of nested article - Adjust stylesheets to match above markup changes - Mention upcoming aria-details
8 lines
285 B
HTML
8 lines
285 B
HTML
{{- $type := "picture" -}}
|
|
{{- with .Get "type" -}}
|
|
{{- $type = . -}}
|
|
{{- end -}}
|
|
|
|
<section aria-label="{{ $type }}, caption, and transcript" itemprop="mentions" itemscope itemtype="https://schema.org/ImageObject" id="{{ .Get "id" }}">
|
|
{{ .Inner | markdownify | safeHTML }}
|
|
</section>
|