mirror of
https://github.com/minoplhy/crappy-reverie.git
synced 2024-11-14 13:26:57 +00:00
crappy-reverie : change to 'social_share'
This commit is contained in:
parent
f6713c3d25
commit
2c64c5d259
@ -60,8 +60,8 @@ baseurl: ""
|
||||
|
||||
# Enable blog on index page
|
||||
index_blog: true
|
||||
# Enable share to twitter button in posts
|
||||
twitter_blog_share: false
|
||||
# Enable share to social media button in posts
|
||||
social_share: false
|
||||
|
||||
#
|
||||
# !! You don't need to change any of the configuration flags below !!
|
||||
|
@ -27,7 +27,7 @@ layout: default
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
{% if site.twitter_blog_share == true %}
|
||||
{% if site.social_share == true %}
|
||||
<div>
|
||||
<p><span class="share-box">Share:</span> <a href="http://twitter.com/share?text={{ page.title }}&url={{site.url}}{{page.url}}" target="_blank">Twitter</a>, <a href="https://www.facebook.com/sharer.php?u={{site.url}}{{page.url}}" target="_blank">Facebook</a></p>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user