~xdavidwu/xdavidwu.link

f2b576b6b3e0eb9ee3506f98e23caeefd86b9054 — Michael Rose 10 years ago c088d24
Remove headline wrap and fix schema tag on post/page title's
M _layouts/home.html => _layouts/home.html +1 -2
@@ 23,8 23,7 @@
</div>

<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>Latest Articles</h3>
  <h3><a href="{{ site.url}}/articles">Articles</a></h3>
  <hr />
  {% for post in site.categories.articles limit:5 %}    
  <article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">

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

M _layouts/post-index.html => _layouts/post-index.html +1 -4
@@ 14,10 14,6 @@
{% include navigation.html %}

<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">
</div><!-- /.image-wrap -->



@@ 26,6 22,7 @@
</div>

<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
  <h1 itemprop="name">{{ page.title }}</h1>
  {% for post in site.posts %}  
  {% unless post.next %}
    <h3>{{ post.date | date: '%Y' }}</h3>

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

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

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

M assets/less/page.less => assets/less/page.less +0 -15
@@ 99,21 99,6 @@ body {
		}
	}
}
.headline-wrap {
	h1 {
		
	}
	h2 {
		text-transform: uppercase;
	}
}
.article-wrap {
	h2 {
		
	}
	h3 {
	}
}
.byline {
	clear: both;
	font-size: 80%;