Rename Articles to Posts to stay consistent with Jekyll naming conventions

This commit is contained in:
Michael Rose
2014-01-15 15:37:26 -05:00
parent 5b8eb18f00
commit 7f5d5d7d41
5 changed files with 33 additions and 33 deletions
+6 -6
View File
@@ -7,7 +7,7 @@
{% include _head.html %}
</head>
<body class="articles" itemscope itemtype="http://schema.org/WebPage">
<body class="post-index">
{% include _browser-upgrade.html %}
@@ -22,8 +22,8 @@
{% include _author-bio.html %}
</div>
<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
<h1 itemprop="name">{{ page.title }}</h1>
<div id="index">
<h1>{{ page.title }}</h1>
{% for post in site.posts %}
{% unless post.next %}
<h3>{{ post.date | date: '%Y' }}</h3>
@@ -34,9 +34,9 @@
<h3>{{ post.date | date: '%Y' }}</h3>
{% endif %}
{% endunless %}
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<h2 itemprop="headline"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h2>
<p itemprop="text">{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
<article>
<h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
<p>{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
</article>
{% endfor %}
</div><!-- /#index -->