Remove headline wrap and fix schema tag on post/page title's

This commit is contained in:
Michael Rose 2013-09-07 10:12:25 -04:00
parent c088d244cc
commit f2b576b6b3
7 changed files with 4 additions and 31 deletions

View file

@ -23,8 +23,7 @@
</div> </div>
<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog"> <div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
<a href="{{ site.url}}/articles" class="btn btn-small pull-right">View all articles</a> <h3><a href="{{ site.url}}/articles">Articles</a></h3>
<h3>Latest Articles</h3>
<hr /> <hr />
{% for post in site.categories.articles limit:5 %} {% for post in site.categories.articles limit:5 %}
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost"> <article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">

View file

@ -23,9 +23,7 @@
{% include author-bio.html %} {% include author-bio.html %}
</div> </div>
<article itemscope itemtype="http://schema.org/CreativeWork"> <article itemscope itemtype="http://schema.org/CreativeWork">
<div class="headline-wrap"> <h1 itemprop="name">{{ page.title }}</h1>
<h1 itemprop="headline">{{ page.title }}</h1>
</div><!--/ .headline-wrap -->
<div class="article-wrap" itemprop="text"> <div class="article-wrap" itemprop="text">
{{ content }} {{ content }}
</div><!-- /.article-wrap --> </div><!-- /.article-wrap -->

View file

@ -14,10 +14,6 @@
{% include navigation.html %} {% include navigation.html %}
<div class="image-wrap"> <div class="image-wrap">
<div class="headline-wrap">
<h1>{{ page.title }}</h1>
{% if page.tagline %}<h2 class="hidden-phone">{{ page.tagline }}</h2>{% endif %}
</div><!--/ .headline-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">
</div><!-- /.image-wrap --> </div><!-- /.image-wrap -->
@ -26,6 +22,7 @@
</div> </div>
<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog"> <div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
<h1 itemprop="name">{{ page.title }}</h1>
{% for post in site.posts %} {% for post in site.posts %}
{% unless post.next %} {% unless post.next %}
<h3>{{ post.date | date: '%Y' }}</h3> <h3>{{ post.date | date: '%Y' }}</h3>

View file

@ -24,7 +24,7 @@
</div> </div>
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost"> <article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<div class="headline-wrap"> <div class="headline-wrap">
<h1 itemprop="headline">{{ page.title }}</h1> <h1 itemprop="name">{{ page.title }}</h1>
<h2>{{ page.tagline }}</h2> <h2>{{ page.tagline }}</h2>
</div><!--/ .headline-wrap --> </div><!--/ .headline-wrap -->
<div class="article-wrap" itemprop="text"> <div class="article-wrap" itemprop="text">

View file

@ -1124,9 +1124,6 @@ body {
color: #ffffff; color: #ffffff;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
} }
.headline-wrap h2 {
text-transform: uppercase;
}
.byline { .byline {
clear: both; clear: both;
font-size: 80%; font-size: 80%;

View file

@ -1481,9 +1481,6 @@ body {
color: #ffffff; color: #ffffff;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
} }
.headline-wrap h2 {
text-transform: uppercase;
}
.byline { .byline {
clear: both; clear: both;
font-size: 80%; font-size: 80%;

View file

@ -99,21 +99,6 @@ body {
} }
} }
} }
.headline-wrap {
h1 {
}
h2 {
text-transform: uppercase;
}
}
.article-wrap {
h2 {
}
h3 {
}
}
.byline { .byline {
clear: both; clear: both;
font-size: 80%; font-size: 80%;