summaryrefslogtreecommitdiff
path: root/_site_build/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_site_build/_layouts')
-rw-r--r--_site_build/_layouts/default.html13
-rw-r--r--_site_build/_layouts/post.html6
2 files changed, 17 insertions, 2 deletions
diff --git a/_site_build/_layouts/default.html b/_site_build/_layouts/default.html
index 17944c5..264ad87 100644
--- a/_site_build/_layouts/default.html
+++ b/_site_build/_layouts/default.html
@@ -28,10 +28,19 @@
</div>
</div>
{% if site.production and site.google_ua %}
- {% include google_analytics.html %}
+ {% include javascript/google_analytics.html %}
+{% endif %}
+{% if page.google_plus %}
+ {% include javascript/google_plus.html %}
+{% endif %}
+{% if page.twitter_share %}
+ {% include javascript/twitter.html %}
+{% endif %}
+{% if page.facebook_like %}
+ {% include javascript/facebook.html %}
{% endif %}
{% if (page.comments or page.show_comment_counts) and site.disqus_shortname %}
- {% include disqus.html %}
+ {% include javascript/disqus.html %}
{% endif %}
</body>
</html>
diff --git a/_site_build/_layouts/post.html b/_site_build/_layouts/post.html
index df3a342..df0dcd0 100644
--- a/_site_build/_layouts/post.html
+++ b/_site_build/_layouts/post.html
@@ -11,9 +11,15 @@ layout: default
{% if page.comments and site.disqus_shortname %}
<span class="comment-count"> | <a href="{{ page.url }}#disqus_thread" data-disqus-identifier="{{ page.url }}">Comments</a></span>
{% endif %}
+ {% if site.social_buttons %}
+ {% include social/buttons.html %}
+ {% endif %}
</header>
{{ content }}
<footer>
+ {% if site.social_buttons %}
+ {% include social/buttons.html %}
+ {% endif %}
<nav>
<ul>
{% if page.previous.url %}