Commit 2face085 authored by Adam Hawkins's avatar Adam Hawkins

Add schema.org/Blog data to landing page

parent 21326e5d
Pipeline #4880288 failed with stages
in 14 seconds
......@@ -5,12 +5,14 @@ layout: default
<div class="home">
<p class="background">{{ site.description }}</p>
<ul class="post-list">
<ul class="post-list" itemscope="" itemtype="http://schema.org/Blog">
{% for post in site.posts %}
<li>
<time class="post-meta">{{ post.date | date: "%Y-%m-%d" }}</time>
<li itemprop="blogPost" itemscope="" itemtype="http://schema.org/BlogPosting">
<time class="post-meta" itemprop="datePublished" datetime="{{ page.date | date_to_xmlschema }}">
{{ post.date | date: "%Y-%m-%d" }}
</time>
-
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}" itemprop="url"><span itemprop="name">{{ post.title }}<span></a>
</li>
{% endfor %}
</ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment