Remove language-specific words from the Twitter share text. (#104)

This commit is contained in:
Etienne Membrives 2018-11-09 07:40:04 +01:00 committed by Hanzei
parent 91fbea1350
commit ae3299123d

View file

@ -17,7 +17,7 @@
<div class="blog-share"> <div class="blog-share">
{{ i18n "blog_shareThis" . }}: {{ i18n "blog_shareThis" . }}:
{{ if .Site.Params.share.twitter }} {{ if .Site.Params.share.twitter }}
<a class="twitter-share-button" href="https://twitter.com/intent/tweet?text=Read%20{{ .Title }}%20{{ .Permalink }}" onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;"> <a class="twitter-share-button" href="https://twitter.com/intent/tweet?text={{ .Title }}%20{{ .Permalink }}" onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<i class="fab fa-twitter"></i> <i class="fab fa-twitter"></i>
<span class="hidden">Twitter</span> <span class="hidden">Twitter</span>
</a> </a>