mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-30 15:22:09 +00:00
f798de7e63
- Stop using draft WAI-ARIA 1.3 that isn't supported yet - Make in-page links focusable across shortcodes/partials - Replace existing in-page heading anchor links with a more accessible option. - Make backlinks aria-labelledby instead of giving them an aria-label, so they can be translated.
8 lines
317 B
HTML
8 lines
317 B
HTML
<figure itemscope itemtype="https://schema.org/ImageObject"
|
|
{{- with .Get "id" }} id="{{ . }}" tabindex="-1"{{ end -}}
|
|
{{- if .Get "representative" }} itemprop="image">
|
|
<meta itemprop="representativeOfPage" content="true">
|
|
{{- else }} itemprop="hasPart">
|
|
{{- end }}
|
|
{{ .Inner | markdownify | safeHTML }}
|
|
</figure>
|