Add optional social sharing buttons
- Social share buttons appear at the end of every post and page unless you add share: false to their YAML Front Matter - Fixes #42
This commit is contained in:
@@ -36,6 +36,10 @@
|
||||
<h1>{{ page.title }}</h1>
|
||||
<div class="article-wrap">
|
||||
{{ content }}
|
||||
{% if page.share != false %}
|
||||
<hr />
|
||||
{% include _social-share.html %}
|
||||
{% endif %}
|
||||
</div><!-- /.article-wrap -->
|
||||
{% if site.owner.disqus-shortname and page.comments == true %}
|
||||
<section id="disqus_thread"></section><!-- /#disqus_thread -->
|
||||
|
||||
Reference in New Issue
Block a user