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

@ -55,3 +55,6 @@
- id: interactions
translation: "Interactions"
- id: also_on
translation: "Also on"

View File

@ -29,3 +29,8 @@
</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 }}