Add option to disable social sharing globally

This commit is contained in:
Michael Rose
2016-03-07 11:48:25 -05:00
parent 9164c5053d
commit 455067a000
2 changed files with 12 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ layout: default
<hr />
<footer role="contentinfo">
{% if page.share %}{% include social-share %}{% endif %}
{% if site.share and page.share %}{% include social-share %}{% endif %}
{% if page.date %}
<p class="byline"><strong>{{ page.title }}</strong> was published on <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time>{% if page.modified %} and last modified on <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time>{% endif %}.</p>
{% endif %}