jlelse
/
Indieroad
Archived
1
Fork 0

Syndication

This commit is contained in:
Jan-Lukas Else 2019-12-22 14:53:18 +01:00
parent 1b8918c74b
commit a9dca6c2b8
2 changed files with 9 additions and 1 deletions

View File

@ -54,4 +54,7 @@
translation: "Share"
- id: interactions
translation: "Interactions"
translation: "Interactions"
- id: also_on
translation: "Also on"

View File

@ -28,4 +28,9 @@
<a href="https://www.addtoany.com/share#url={{ .Permalink }}{{ with .Title }}&title={{ . }}{{ end }}" target="_blank" rel="nofollow noopener">{{ T "share" }}</a>
</div>
{{ end }}
{{ end }}
{{ with .Param "syndicate" }}
<div class="item">
{{ T "also_on" }}:{{ $delimiter := "" }}{{ range $index, $link := . }}{{ $delimiter }} <a class="u-syndication" href="{{ $link }}">{{ (urls.Parse $link).Host }}</a>{{ $delimiter = "," }}{{ end }}
</div>
{{ end }}