Syndication
This commit is contained in:
parent
1b8918c74b
commit
a9dca6c2b8
|
@ -54,4 +54,7 @@
|
||||||
translation: "Share"
|
translation: "Share"
|
||||||
|
|
||||||
- id: interactions
|
- id: interactions
|
||||||
translation: "Interactions"
|
translation: "Interactions"
|
||||||
|
|
||||||
|
- id: also_on
|
||||||
|
translation: "Also on"
|
|
@ -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>
|
<a href="https://www.addtoany.com/share#url={{ .Permalink }}{{ with .Title }}&title={{ . }}{{ end }}" target="_blank" rel="nofollow noopener">{{ T "share" }}</a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ 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 }}
|
{{ end }}
|
Reference in New Issue