added page title in twitter social share button (#113)
This commit is contained in:
parent
1885ea094b
commit
0cb0f5ec62
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<!--- Share on Twitter -->
|
<!--- Share on Twitter -->
|
||||||
{% if site.share-links-active.twitter %}
|
{% if site.share-links-active.twitter %}
|
||||||
<a href="https://twitter.com/intent/tweet?text={{ site.url }}{{ page.url }}"
|
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}+{{ site.url }}{{ page.url }}"
|
||||||
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
|
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
|
||||||
<span class="fa fa-fw fa-twitter" aria-hidden="true"></span>
|
<span class="fa fa-fw fa-twitter" aria-hidden="true"></span>
|
||||||
</a>
|
</a>
|
||||||
@ -43,4 +43,4 @@
|
|||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user