2022-05-25 00:25:16 +00:00
|
|
|
{{- $itemprop := "mentions" -}}
|
|
|
|
{{- with .Get "itemprop" -}}
|
|
|
|
{{ $itemprop = . }}
|
|
|
|
{{- end -}}
|
2022-06-11 02:24:54 +00:00
|
|
|
{{- if .Get "p" -}}
|
|
|
|
<p
|
2022-06-11 02:33:36 +00:00
|
|
|
{{- else }}
|
2022-06-11 02:24:54 +00:00
|
|
|
<span
|
2022-06-11 02:33:36 +00:00
|
|
|
{{- end }}
|
2022-06-11 02:24:54 +00:00
|
|
|
class="h-cite{{ with .Get "reply" }} in-reply-to{{ end }}" itemprop="{{ $itemprop }}"{{ with .Get "role" }} role="{{ . }}"{{ end }} itemscope="" itemtype="https://schema.org/{{ .Get "itemtype" }}">
|
2022-05-25 00:25:16 +00:00
|
|
|
{{- .Inner | markdownify | safeHTML -}}
|
2022-06-11 02:24:54 +00:00
|
|
|
{{- if .Get "p" -}}
|
|
|
|
</p>
|
|
|
|
{{- else -}}
|
|
|
|
</span>
|
|
|
|
{{- end -}}
|