mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2025-02-19 05:10:04 +00:00

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 -}}
|