Skip to content

Commit

Permalink
Adding schema tags in the homepage listing
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad AbuShady committed Apr 22, 2015
1 parent 3a0f4f0 commit 8d4640a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@

<div class="posts">
{% for post in paginator.posts %}
<div class="post">
<div itemscope itemtype="http://schema.org/Article" class="post">
<h1 class="post-title">
<a href="{{ post.url }}">
{{ post.title }}
<a itemprop="url" href="{{ post.url }}">
<span itemprop="name">{{ post.title }}</span>
</a>
</h1>

<span class="post-date">{{ post.date | date_to_string }}</span>
<span temprop="datePublished" content="{{post.date}}" class="post-date">{{ post.date | date_to_string }}</span>

{{ post.excerpt }}
<span itemprop='headline'>{{ post.excerpt }}</span>
{% if post.excerpt != post.content %}
<a href="{{post.url}}">{{ site.read_more }}</a><hr />
{% endif %}
Expand Down

0 comments on commit 8d4640a

Please sign in to comment.