2022-06-03 00:25:52 +00:00
|
|
|
{{- $schemaType := "SocialMediaPosting" -}}
|
|
|
|
{{- with .replyType -}}
|
|
|
|
{{- $schemaType = . -}}
|
|
|
|
{{- end -}}
|
2022-06-30 15:35:05 +00:00
|
|
|
{{- $replyAuthorType := "Person" -}}
|
|
|
|
{{- with .replyAuthorType -}}
|
|
|
|
{{- $replyAuthorType = . -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- $replyAuthorRel := "author" -}}
|
2023-08-15 16:14:07 +00:00
|
|
|
{{- if in $replyAuthorType (slice "Organization" "NewsMediaOrganization") -}}
|
2022-06-30 15:35:05 +00:00
|
|
|
{{- $replyAuthorRel = "publisher" -}}
|
|
|
|
{{- end -}}
|
2022-06-03 00:25:52 +00:00
|
|
|
<aside role="note">
|
2022-08-02 03:55:33 +00:00
|
|
|
<p>
|
2023-08-23 23:09:35 +00:00
|
|
|
Reply to <span class="h-cite u-in-reply-to" itemprop="about" itemscope="" itemtype="https://schema.org/{{ $schemaType }}">
|
2022-06-03 00:25:52 +00:00
|
|
|
<cite itemprop="name" class="p-name">
|
|
|
|
<a class="u-url" itemprop="url" href="{{ .replyURI }}">{{ .replyTitle | safeHTML}}</a>
|
2022-08-12 07:00:03 +00:00
|
|
|
</cite>{{ if .replyAuthor }} by
|
2022-06-30 15:35:05 +00:00
|
|
|
<span itemprop="{{ $replyAuthorRel }}" itemscope="" itemtype="https://schema.org/{{ $replyAuthorType }}" class="h-card vcard p-author">
|
2022-06-03 00:25:52 +00:00
|
|
|
<a itemprop="url" href="{{ .replyAuthorURI }}" class="u-url url">
|
|
|
|
<span itemprop="name" class="p-name fn n">{{ .replyAuthor }}</span></a>
|
2024-04-15 14:48:38 +00:00
|
|
|
</span>{{ end }}{{ with .replyDate -}}
|
|
|
|
{{- $replyDate := time.AsTime . -}}, posted <time datetime="{{ $replyDate.UTC.Format "2006-01-02T15:04:05-07:00" | safeHTML }}">{{ $replyDate.UTC.Format "2006-01-02" | safeHTML }}</time>{{ end }}
|
2022-06-03 00:25:52 +00:00
|
|
|
</span>
|
2022-08-02 03:55:33 +00:00
|
|
|
</p>
|
2022-06-03 00:25:52 +00:00
|
|
|
</aside>
|