mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2025-02-20 13:30:05 +00:00

- 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.
7 lines
275 B
HTML
7 lines
275 B
HTML
{{- $itemprop := "mentions" -}}
|
|
{{- with .Get "itemprop" -}}
|
|
{{- $itemprop = . -}}
|
|
{{- end -}}
|
|
<figure itemprop="{{ $itemprop }}"{{ with .Get "id" }} id="{{ . }}" tabindex="-1"{{ end }} itemscope itemtype="https://schema.org/Quotation">
|
|
{{ .Inner | markdownify }}
|
|
</figure>
|