mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 01:32:11 +00:00
36c049d0ef
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.
15 lines
360 B
HTML
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 -}}
|