Add Microformats goodness

This commit is contained in:
Michael Rose 2013-05-29 08:24:26 -04:00
parent edf932936c
commit b127fca8ae
5 changed files with 14 additions and 14 deletions

View file

@ -3,7 +3,7 @@
<a href="{{ site.url }}">{{ site.title }}</a> <a href="{{ site.url }}">{{ site.title }}</a>
</div><!-- /.site-name --> </div><!-- /.site-name -->
<div class="top-navigation"> <div class="top-navigation">
<nav role="navigation"> <nav role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement">
<ul> <ul>
<li><a href="{{ site.url }}/about">About</a></li> <li><a href="{{ site.url }}/about">About</a></li>
<li><a href="{{ site.url }}/articles">Sample Posts</a></li> <li><a href="{{ site.url }}/articles">Sample Posts</a></li>

View file

@ -7,7 +7,7 @@
{% include head.html %} {% include head.html %}
</head> </head>
<body class="home"> <body class="home" itemscope itemtype="http://schema.org/WebPage">
{% include chrome-frame.html %} {% include chrome-frame.html %}

View file

@ -7,7 +7,7 @@
{% include head.html %} {% include head.html %}
</head> </head>
<body class="page"> <body class="page" itemscope itemtype="http://schema.org/WebPage">
{% include chrome-frame.html %} {% include chrome-frame.html %}
@ -17,15 +17,15 @@
<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">
</div><!-- /.image-wrap -->{% endif %} </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"> <div class="article-author-top">
{% include author-bio.html %} {% include author-bio.html %}
</div> </div>
<article itemprop="articleBody"> <article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<div class="headline-wrap"> <div class="headline-wrap">
<h1 itemprop="name headline">{{ page.title }}</h1> <h1 itemprop="headline">{{ page.title }}</h1>
</div><!--/ .headline-wrap --> </div><!--/ .headline-wrap -->
<div class="article-wrap"> <div class="article-wrap" itemprop="text">
{{ content }} {{ content }}
</div><!-- /.article-wrap --> </div><!-- /.article-wrap -->
</article> </article>

View file

@ -7,7 +7,7 @@
{% include head.html %} {% include head.html %}
</head> </head>
<body class="articles"> <body class="articles" itemscope itemtype="http://schema.org/WebPage">
{% include chrome-frame.html %} {% include chrome-frame.html %}

View file

@ -7,26 +7,26 @@
{% include head.html %} {% include head.html %}
</head> </head>
<body class="article"> <body class="article" itemscope itemtype="http://schema.org/WebPage">
{% include chrome-frame.html %} {% include chrome-frame.html %}
{% include navigation.html %} {% include navigation.html %}
{% if page.image.feature %}<div class="image-wrap"> {% 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><!-- /.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"> <div class="article-author-top">
{% include author-bio.html %} {% include author-bio.html %}
</div> </div>
<article itemprop="articleBody"> <article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<div class="headline-wrap"> <div class="headline-wrap">
<h1 itemprop="name headline">{{ page.title }}</h1> <h1itemprop="headline">{{ page.title }}</h1>
<h2>{{ page.tagline }}</h2> <h2>{{ page.tagline }}</h2>
</div><!--/ .headline-wrap --> </div><!--/ .headline-wrap -->
<div class="article-wrap"> <div class="article-wrap" itemprop="text">
{{ content }} {{ content }}
<hr /> <hr />
<footer role="contentinfo"> <footer role="contentinfo">