1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00

syndicate, add reply date

This commit is contained in:
Rohan Kumar 2024-04-15 10:48:38 -04:00
parent 7594a84e8d
commit 604f1dc26d
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 7 additions and 1 deletions

View file

@ -7,6 +7,11 @@ replyType: "SocialMediaPosting"
replyAuthor: "dflxh" replyAuthor: "dflxh"
replyAuthorURI: "https://lethallava.land/@dflxh" replyAuthorURI: "https://lethallava.land/@dflxh"
replyDate: "2024-04-15T08:52:40-04:00" 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: [My previous response to similar concerns]({{<relref "/notes/on-enforcing-https.md">}}) is relevant. To elaborate:

View file

@ -19,7 +19,8 @@
<span itemprop="{{ $replyAuthorRel }}" itemscope="" itemtype="https://schema.org/{{ $replyAuthorType }}" class="h-card vcard p-author"> <span itemprop="{{ $replyAuthorRel }}" itemscope="" itemtype="https://schema.org/{{ $replyAuthorType }}" class="h-card vcard p-author">
<a itemprop="url" href="{{ .replyAuthorURI }}" class="u-url url"> <a itemprop="url" href="{{ .replyAuthorURI }}" class="u-url url">
<span itemprop="name" class="p-name fn n">{{ .replyAuthor }}</span></a> <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> </span>
</p> </p>
</aside> </aside>