diff --git a/_config.yml b/_config.yml index be2c843ca6e..93bf2914761 100644 --- a/_config.yml +++ b/_config.yml @@ -128,3 +128,6 @@ social: visible: false facebook: app_id: 338291289691179 + + twitter: + account: balloob diff --git a/source/_includes/site/head.html b/source/_includes/site/head.html index 15024e3c1ed..de9daf226ed 100644 --- a/source/_includes/site/head.html +++ b/source/_includes/site/head.html @@ -1,21 +1,21 @@ +{% if page.description %}{% capture fb_description %}{{ page.description }}{% endcapture %}{% else %}{% capture fb_description %}{{ content | raw_content }}{% endcapture %}{% endif %} +{% capture description %}{% if page.description %}{{ page.description }}{% elsif site.description %}{{ site.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %} - {% if page.description %} {% capture fb_description %}{{ page.description }}{% endcapture %} {% else %} {% capture fb_description %}{{ content | raw_content }}{% endcapture %} {% endif %} {% if page.title %}{{ page.title }} - {% endif %}{{ site.title }} - {% capture description %}{% if page.description %}{{ page.description }}{% elsif site.description %}{{ site.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %} {% if page.keywords %}{% endif %} - {% if site.social.facebook.app_id %} + @@ -23,9 +23,15 @@ - {% endif %} + + + + + + + - +