-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (26 loc) · 1016 Bytes
/
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
28
---
layout: default
---
{% assign index = true %}
<div itemscope itemtype="http://schema.org/Blog">
{% for post in paginator.posts %}
{% unless post.redirect %}
{% assign content = post.excerpt %}
<article class="post" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
{% include article.html %}
{% if post.content.size > post.excerpt.size %}
<p><a href="{{ post.url }}" class="badge badge-primary">Continue reading… </a></p>
{% endif %}
</article>
{% endunless %}
{% endfor %}
</div>
<nav id="pagenavi">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' | replace: 'index.html', '' }}" class="prev">Prev</a>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="next">Next</a>
{% endif %}
<div class="center"><a href="/archive">Blog Archives</a></div>
</nav>