mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 17:52:11 +00:00
syndicate, add reply date
This commit is contained in:
parent
7594a84e8d
commit
604f1dc26d
2 changed files with 7 additions and 1 deletions
|
@ -7,6 +7,11 @@ replyType: "SocialMediaPosting"
|
|||
replyAuthor: "dflxh"
|
||||
replyAuthorURI: "https://lethallava.land/@dflxh"
|
||||
replyDate: "2024-04-15T08:52:40-04:00"
|
||||
syndicatedCopies:
|
||||
- title: 'The Fediverse'
|
||||
url: 'https://pleroma.envs.net/notice/AgIhXz3q628odren2G'
|
||||
- title: 'IndieNews'
|
||||
url: 'https://news.indieweb.org/en'
|
||||
---
|
||||
[My previous response to similar concerns]({{<relref "/notes/on-enforcing-https.md">}}) is relevant. To elaborate:
|
||||
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
<span itemprop="{{ $replyAuthorRel }}" itemscope="" itemtype="https://schema.org/{{ $replyAuthorType }}" class="h-card vcard p-author">
|
||||
<a itemprop="url" href="{{ .replyAuthorURI }}" class="u-url url">
|
||||
<span itemprop="name" class="p-name fn n">{{ .replyAuthor }}</span></a>
|
||||
</span>{{ end }}
|
||||
</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 }}
|
||||
</span>
|
||||
</p>
|
||||
</aside>
|
||||
|
|
Loading…
Reference in a new issue