share icons update

This commit is contained in:
restot 2020-11-29 03:01:46 -05:00
parent 0d8cb9fd15
commit 9ab88c93f7

View File

@ -8,7 +8,7 @@
{{ range . }}{{ $hashtags.Add "tags" (slice (replaceRE "(\\s)" "" . ))}}{{end}}
{{ $.Scratch.Set "tags" (delimit ($hashtags.Get "tags") ",") }}
{{- end }}
{{- if .Site.Params.ShareButtons }}
<div class="share-buttons">
<a target="_blank" rel="noopener noreferrer" aria-label="share {{ $title | plainify }} on twitter"
href="https://twitter.com/intent/tweet/?text={{ $title }}&amp;url={{ $pageurl }}&amp;hashtags={{- $.Scratch.Get "tags" -}}">
@ -53,3 +53,4 @@
</svg>
</a>
</div>
{{- end -}}