crappy-reverie : change to 'social_share'

This commit is contained in:
minoplhy 2023-04-19 23:23:26 +07:00
parent f6713c3d25
commit 2c64c5d259
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF
2 changed files with 3 additions and 3 deletions

View File

@ -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 !!

View File

@ -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>