Latest news, food, business, travel, sport, Tips and Tricks...

Blogger Header Inclusion all-head-content

This inclusion is managed by blogger, where this content is stored on their servers. Aiming to make it easier for Bloggers to add all the parts needed in SEO that are usually between <head> and </head>.

Template default Blogger Version 2 and above, by default there is an embedded command to call this inclusion. For those of us who use the old version of Templates, we only need to enter the following code between the <head> and </head> sections:


<b:include data='blog' name='all-head-content'/>

Example RESULT Placing code before: 


<b:include data='blog' name='all-head-content'/>


Content of the all-head-content Inclusion

The content of this inclusion is basically basic meta tag that used for Search Engine Optimization. In this inclusion, also include the openGraphMetaData which is used for creating Rich Card for Facebook and Co, this is used when someone share our post.

The content written here, maybe not be accurate, but at least we can guess of what this content is about.


<b:includable id='all-head-content'>

  <meta expr:content='"text/html; charset=" + data:blog.encoding' http-equiv='Content-Type'/>

  <b:if cond='data:widgets'>

    <b:comment>Chrome, Firefox OS and Opera</b:comment>

    <meta expr:content='data:skin.vars.body_background_color' name='theme-color'/>

    <b:comment>Windows Phone</b:comment>

    <meta expr:content='data:skin.vars.body_background_color' name='msapplication-navbutton-color'/>




  <meta content='blogger' name='generator'/>

  <link expr:href='data:blog.blogspotFaviconUrl' rel='icon' type='image/x-icon'/>

  <b:if cond='data:blog.adultContent'>

    <meta content='adult' name='rating'/>


  <link expr:href='data:view.url.canonical' rel='canonical'/>




  <b:tag name='link' cond='data:blog.googleProfileUrl' rel='publisher' expr:href='data:blog.googleProfileUrl'/>

  <b:tag name='link' cond='data:view.featuredImage' expr:href='data:view.featuredImage' rel='image_src'/>

  <b:if cond='data:blog.metaDescription'>

    <meta expr:content='data:blog.metaDescription' name='description'/>


  <b:include name='openGraphMetaData'/>


  <!--[if IE]><script> (function() { var html5 = ("abbr,article,aside,audio,canvas,datalist,details," + "figure,footer,header,hgroup,mark,menu,meter,nav,output," + "progress,section,time,video").split(','); for (var i = 0; i < html5.length; i++) { document.createElement(html5[i]); } try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {} })(); </script>