Kamis, 14 Agustus 2014

Meta Konten Untuk Blog

Inilah Tag yang harus di pasang di blog anda, agar blog cepat terindek google.


<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
  <head>
 
 
    <!-- This code line insert necessary meta tags to the blog header -->
    <b:include data='blog' name='all-head-content'/>

    <!-- font-awesome Icons [template icons][Start] -->
    <link href='//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css' rel='stylesheet'/>
    <!-- font-awesome Icons [End] -->

    <!-- Resonsive Meta tag -->
    <meta content='width=device-width, initial-scale=1, maximum-scale=1' name='viewport'/>
    <!-- Resonsive Meta tag [End] -->

    <!-- Web pages Titles [Start] -->
    <title>
        <b:if cond='data:blog.pageType == &quot;index&quot;'>
            <data:blog.pageTitle/>
        <b:else/>
            <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
                <data:blog.pageName/> - <data:blog.title/>
            <b:else/>
                Not Found - <data:blog.title/>
            </b:if>
        </b:if>
    </title>
    <!-- Web pages Titles [End] -->

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

 <!-- Auto Redirect To Resonsive Desgin Script [Remove it and use Blogger Basic Sittings In case you need this][Start] -->
<script type='text/javascript'>
//<![CDATA[
    var curl = window.location.href;
    if (curl.indexOf('m=1') != -1) {
        curl = curl.replace('m=1', 'm=0');
        window.location.href = curl;
    }
//]]>
</script>

<!-- Begin Open Graph -->

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<meta expr:content='data:blog.pageName' property='og:title'/>
<meta expr:content='data:blog.canonicalUrl' property='og:url'/>
<meta content='article' property='og:type'/>
</b:if>
<meta expr:content='data:blog.title' property='og:site_name'/>
<b:if cond='data:blog.postImageThumbnailUrl'>
<meta expr:content='data:blog.postImageThumbnailUrl' property='og:image'/>
<b:else/>
<meta content='Blog Logo URL Here' property='og:image'/>
</b:if>
<b:if cond='data:blog.metaDescription != &quot;&quot;'>
<meta expr:content='data:blog.metaDescription' name='og:description'/>
</b:if>

<meta content='Facebook App ID here' property='fb:app_id'/>
<meta content='Facebook Admins ID here' property='fb:admins'/>


<!-- End Facebook Open Graph  -->


<!-- Begin twitter card -->

<b:if cond='data:blog.pageType == &quot;item&quot;'>
    <b:if cond='data:blog.postImageThumbnailUrl'>
      <b:if cond='data:blog.metaDescription'>
        <meta content='summary' name='twitter:card'/>
        <meta content='@templateism' name='twitter:site'/>
        <meta content='@templateism' name='twitter:creator'/>
        <meta expr:content='data:blog.pageName' name='twitter:title'/>
        <meta expr:content='data:blog.metaDescription' name='twitter:description'/>
        <meta expr:content='data:blog.postImageThumbnailUrl' name='twitter:image:src'/>
        <meta expr:content='data:blog.homepageUrl' name='twitter:domain'/>
      </b:if>
    </b:if>
</b:if>

<!-- End twitter card -->