mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-07 12:06:26 +00:00
Merge pull request #79 from dacamo76/post-tags-as-twitter-hashtags
Change Twitter share to use tags instead of categories as hashtags.
This commit is contained in:
commit
cec6aa75ed
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
||||||
<span class="social-share-facebook">
|
<span class="social-share-facebook">
|
||||||
<a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ page.url }}" title="Share on Facebook" itemprop="Facebook"><i class="icon-facebook-sign"></i> Like</a></span>
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ page.url }}" title="Share on Facebook" itemprop="Facebook"><i class="icon-facebook-sign"></i> Like</a></span>
|
||||||
<span class="social-share-twitter">
|
<span class="social-share-twitter">
|
||||||
<a href="https://twitter.com/intent/tweet?hashtags={{ page.categories | join: ',' }}&text={{ page.title | escape | replace:' ','%20' }}&url={{ site.url }}{{ page.url }}&via={{site.owner.twitter}}" title="Share on Twitter" itemprop="Twitter"><i class="icon-twitter-sign"></i> Tweet</a></span>
|
<a href="https://twitter.com/intent/tweet?hashtags={{ page.tags | join: ',' | remove: ' ' }}&text={{ page.title | escape | replace:' ','%20' }}&url={{ site.url }}{{ page.url }}&via={{site.owner.twitter}}" title="Share on Twitter" itemprop="Twitter"><i class="icon-twitter-sign"></i> Tweet</a></span>
|
||||||
<span class="social-share-googleplus">
|
<span class="social-share-googleplus">
|
||||||
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" title="Share on Google Plus" itemprop="GooglePlus"><i class="icon-google-plus-sign"></i> +1</a></span>
|
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" title="Share on Google Plus" itemprop="GooglePlus"><i class="icon-google-plus-sign"></i> +1</a></span>
|
||||||
<!-- /.social-share -->{% endif %}
|
<!-- /.social-share -->{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue