share icons update
This commit is contained in:
parent
0d8cb9fd15
commit
9ab88c93f7
@ -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 }}&url={{ $pageurl }}&hashtags={{- $.Scratch.Get "tags" -}}">
|
||||
@ -53,3 +53,4 @@
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
{{- end -}}
|
Loading…
x
Reference in New Issue
Block a user