mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-17 22:32:10 +00:00
120232a403
Way better now. Also introduce a way to emphasize some keywords in code blocks without going full syntax-highlighting.
8 lines
265 B
HTML
8 lines
265 B
HTML
{{- $type := "picture" -}}
|
|
{{- with .Get "type" -}}
|
|
{{- $type = . -}}
|
|
{{- end -}}
|
|
|
|
<article aria-label="{{ $type }}, caption, and transcript" itemscope itemtype="https://schema.org/ImageObject" id="{{ .Get "id" }}">
|
|
{{ .Inner | markdownify | safeHTML }}
|
|
</article>
|