1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00
seirdy.one/layouts/shortcodes/mention-work.html
2022-05-25 19:59:09 -07:00

7 lines
344 B
HTML

{{- $itemprop := "mentions" -}}
{{- with .Get "itemprop" -}}
{{ $itemprop = . }}
{{- end -}}
<span class="h-cite{{ with .Get "reply" }} in-reply-to{{ end }}" itemprop="{{ $itemprop }}"{{ with .Get "role" }} role="{{ . }}"{{ end }} itemscope itemtype="https://schema.org/{{ .Get "itemtype" }}">
{{- .Inner | markdownify | safeHTML -}}
</span>