1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-18 06:42:10 +00:00
seirdy.one/layouts/partials/syndication.html
Rohan Kumar 36c049d0ef
Add u-syndication, clean up interactions
Add a new "Interactions" section to my pages that contain both
Syndication and Webmentions. Make the Syndication links u-syndication.

Make both these things children of the <article> h-entry.
2022-11-20 13:32:14 -08:00

15 lines
360 B
HTML

{{ with .Params.syndicatedCopies }}
<h3>Syndication</h3>
<p>This post has been syndicated to:</p>
<ul>
{{- range . -}}
{{- $type := "SocialMediaPosting" -}}
{{- with ".type" -}}
{{- $type = . -}}
{{- end }}
<li>
<a itemprop="discussionUrl" class="u-syndication" rel="syndication" href="{{ .url }}">{{ .title }}</a>
</li>
{{- end -}}
</ul>
{{- end -}}