jlelse
/
Indieroad
Archived
1
Fork 0

Add share link option

This commit is contained in:
Jan-Lukas Else 2019-12-04 22:43:07 +01:00
parent 6e7b9bd081
commit eb9780bcb9
3 changed files with 13 additions and 2 deletions

View File

@ -48,4 +48,7 @@
translation: "Senden"
- id: related
translation: "Ähnlich"
translation: "Ähnlich"
- id: share
translation: "Teilen"

View File

@ -48,4 +48,7 @@
translation: "Send"
- id: related
translation: "Related"
translation: "Related"
- id: share
translation: "Share"

View File

@ -23,4 +23,9 @@
</div>
{{ end }}
{{ end }}
{{ if .Param "shareLink" }}
<div class="item">
<a class="" href="https://www.addtoany.com/share#url={{ .Permalink }}{{ with .Title }}&title={{ . }}{{ end }}" target="_blank" rel="nofollow noopener">{{ T "share" }}</a>
</div>
{{ end }}
{{ end }}