diff options
Diffstat (limited to '_site_build')
| -rw-r--r-- | _site_build/_includes/social/buttons.html | 5 | ||||
| -rw-r--r-- | _site_build/_layouts/post.html | 16 | ||||
| -rw-r--r-- | _site_build/css/style.css | 2 |
3 files changed, 10 insertions, 13 deletions
diff --git a/_site_build/_includes/social/buttons.html b/_site_build/_includes/social/buttons.html new file mode 100644 index 0000000..828b435 --- /dev/null +++ b/_site_build/_includes/social/buttons.html @@ -0,0 +1,5 @@ +<div class="social-buttons"> + {% if page.google_plus %}{% include social/google_plus.html %}{% endif %} + {% if page.twitter_share %}{% include social/twitter_share.html %}{% endif %} + {% if page.facebook_like %}{% include social/facebook_like.html %}{% endif %} +</div> diff --git a/_site_build/_layouts/post.html b/_site_build/_layouts/post.html index 51d78e3..df0dcd0 100644 --- a/_site_build/_layouts/post.html +++ b/_site_build/_layouts/post.html @@ -11,22 +11,14 @@ 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 page.social %} - <div class="social"> - {% if page.google_plus %}{% include social/google_plus.html %}{% endif %} - {% if page.twitter_share %}{% include social/twitter_share.html %}{% endif %} - {% if page.facebook_like %}{% include social/facebook_like.html %}{% endif %} - </div> + {% if site.social_buttons %} + {% include social/buttons.html %} {% endif %} </header> {{ content }} <footer> - {% if page.social %} - <div class="social"> - {% if page.google_plus %}{% include social/google_plus.html %}{% endif %} - {% if page.twitter_share %}{% include social/twitter_share.html %}{% endif %} - {% if page.facebook_like %}{% include social/facebook_like.html %}{% endif %} - </div> + {% if site.social_buttons %} + {% include social/buttons.html %} {% endif %} <nav> <ul> diff --git a/_site_build/css/style.css b/_site_build/css/style.css index 962bc3a..f6a2511 100644 --- a/_site_build/css/style.css +++ b/_site_build/css/style.css @@ -223,7 +223,7 @@ article header time, article .categories, article .comment-count { color: #999999; } -article header .social { +article header .social-buttons { margin-top: 0.5em; } |
