Add Microformats goodness
This commit is contained in:
parent
edf932936c
commit
b127fca8ae
5 changed files with 14 additions and 14 deletions
|
@ -3,7 +3,7 @@
|
|||
<a href="{{ site.url }}">{{ site.title }}</a>
|
||||
</div><!-- /.site-name -->
|
||||
<div class="top-navigation">
|
||||
<nav role="navigation">
|
||||
<nav role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||
<ul>
|
||||
<li><a href="{{ site.url }}/about">About</a></li>
|
||||
<li><a href="{{ site.url }}/articles">Sample Posts</a></li>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{% include head.html %}
|
||||
</head>
|
||||
|
||||
<body class="home">
|
||||
<body class="home" itemscope itemtype="http://schema.org/WebPage">
|
||||
|
||||
{% include chrome-frame.html %}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{% include head.html %}
|
||||
</head>
|
||||
|
||||
<body class="page">
|
||||
<body class="page" itemscope itemtype="http://schema.org/WebPage">
|
||||
|
||||
{% include chrome-frame.html %}
|
||||
|
||||
|
@ -17,15 +17,15 @@
|
|||
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
|
||||
</div><!-- /.image-wrap -->{% endif %}
|
||||
|
||||
<div id="main" role="main">
|
||||
<div id="main" role="main" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
|
||||
<div class="article-author-top">
|
||||
{% include author-bio.html %}
|
||||
</div>
|
||||
<article itemprop="articleBody">
|
||||
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
|
||||
<div class="headline-wrap">
|
||||
<h1 itemprop="name headline">{{ page.title }}</h1>
|
||||
<h1 itemprop="headline">{{ page.title }}</h1>
|
||||
</div><!--/ .headline-wrap -->
|
||||
<div class="article-wrap">
|
||||
<div class="article-wrap" itemprop="text">
|
||||
{{ content }}
|
||||
</div><!-- /.article-wrap -->
|
||||
</article>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{% include head.html %}
|
||||
</head>
|
||||
|
||||
<body class="articles">
|
||||
<body class="articles" itemscope itemtype="http://schema.org/WebPage">
|
||||
|
||||
{% include chrome-frame.html %}
|
||||
|
||||
|
|
|
@ -7,26 +7,26 @@
|
|||
{% include head.html %}
|
||||
</head>
|
||||
|
||||
<body class="article">
|
||||
<body class="article" itemscope itemtype="http://schema.org/WebPage">
|
||||
|
||||
{% include chrome-frame.html %}
|
||||
|
||||
{% include navigation.html %}
|
||||
|
||||
{% if page.image.feature %}<div class="image-wrap">
|
||||
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
|
||||
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="image">
|
||||
</div><!-- /.image-wrap -->{% endif %}
|
||||
|
||||
<div id="main" role="main" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
<div id="main" role="main" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
|
||||
<div class="article-author-top">
|
||||
{% include author-bio.html %}
|
||||
</div>
|
||||
<article itemprop="articleBody">
|
||||
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
|
||||
<div class="headline-wrap">
|
||||
<h1 itemprop="name headline">{{ page.title }}</h1>
|
||||
<h1itemprop="headline">{{ page.title }}</h1>
|
||||
<h2>{{ page.tagline }}</h2>
|
||||
</div><!--/ .headline-wrap -->
|
||||
<div class="article-wrap">
|
||||
<div class="article-wrap" itemprop="text">
|
||||
{{ content }}
|
||||
<hr />
|
||||
<footer role="contentinfo">
|
||||
|
|
Loading…
Reference in a new issue