/
index.html
27 lines (20 loc) · 1.36 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
layout: default
---
<div class="home">
<h1 class="page-heading hidden">{{ site.title }}</h1>
{% for post in site.posts limit:5 %}
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h2 class="post-title" itemprop="name headline"><a class="post-link" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
<p class="post-meta"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%b %-d, %Y" }}</time>{% if post.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ post.author }}</span></span>{% endif %}{% if post.author or site.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{% if post.author %}{{ post.author }}{% else %}{{ site.author }}{% endif %}</span></span>{% endif %}{% if post.excerpt_standalone %} • <span class="post-excerpt">{{ post.excerpt }}</span>{% endif %}</p>
</header>
<div class="post-content" itemprop="articleBody">
{{ post.content }}
</div>
</article>
{% endfor %}
<div class="article-navigation row">
<div class="article-navigation-previous col-md-6"><a class="post-link" href="{{ site.baseurl }}/posts/">« All posts</a></div>
</div>
</div>