diff --git a/components/html-head.tpl b/components/html-head.tpl index b4c5b7e..d07d930 100755 --- a/components/html-head.tpl +++ b/components/html-head.tpl @@ -1,24 +1,22 @@ -{% comment %}{% endcomment %} +{% comment %}IE SETTINGS{% endcomment %} -{% comment %}{% endcomment %} +{% comment %}META INFO{% endcomment %} -{% unless page.keywords == nil or page.keywords == "" %}{% endunless %} -{% unless page.description == nil or page.keywords == "" %}{% endunless %} -{% comment %}{% endcomment %} +{% comment %}FAV ICON{% endcomment %} -{% comment %}{% endcomment %} +{% comment %}TODO: Add functionality after the CMS is going to support it{% endcomment %} {% if site.data.touch_icon %}{% endif %} -{% comment %}{% endcomment %} +{% comment %}MODERNIZR - HTML5 SUPPORT FOR OLDER BROWSERS, SVG SUPPORT DETECTION ETC{% endcomment %} -{% comment %}{% endcomment %} +{% comment %}STYLESHEETS{% endcomment %} {% stylesheet_link "main.min.css" %} {% if editmode %}{% endif %} {% if site.search.enabled %}{% endif %} @@ -27,42 +25,14 @@ {% else %} {% endif %} - -{% comment %}{% endcomment %} +{% comment %}SITE TITLE{% endcomment %} {% capture page_title %}{% if article %}{{ article.title }} — {{ page.site_title }}{% else %}{% if site.root_item.selected? %}{{ page.site_title }}{% else %}{{ page.title }} — {{ page.site_title }}{% endif %}{% endif %}{% endcapture %} {{ page_title }} -{% comment %}{% endcomment %} - -{% comment %}{% endcomment %} -{% if site.data.fb_admin %}{% endif %} - - - - - -{% if article %} - {% if article.data.fb_image %} - - {% elsif page.data.fb_image %} - - {% elsif site.data.fb_image %} - - {% endif %} - - -{% else %} - {% if page.data.fb_image %} - - {% elsif site.data.fb_image %} - - {% endif %} - {% unless page.description == nil or page.description == "" %} - - - {% endunless %} -{% endif %} +{% comment %}FACEBOOK OPEN GRAPH META TAGS{% endcomment%} +{% include "open-graph" %} +{% comment %}MISCELLANEOUS{% endcomment %} {% if blog %}{{ blog.rss_link }}{% endif %} {{ site.stats_header }}