added page title in twitter social share button (#113)

This commit is contained in:
DirectorX 2016-10-09 01:30:31 +03:00 committed by Dean Attali
parent 1885ea094b
commit 0cb0f5ec62

View File

@ -11,7 +11,7 @@
<!--- Share on 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">
<span class="fa fa-fw fa-twitter" aria-hidden="true"></span>
</a>
@ -43,4 +43,4 @@
</section>
{% endif %}
{% endif %}