aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--index.html18
1 files changed, 1 insertions, 17 deletions
diff --git a/index.html b/index.html
index 69c22ad..d3914c2 100644
--- a/index.html
+++ b/index.html
@@ -6,20 +6,4 @@ navbar_link: <span class="glyphicon glyphicon-home"></span>&nbsp;Main page
navbar_priority: 1
root_page: true
---
-{% if site.posts.size == 0 %}
- <p class="h3">Sorry, no posts have been added yet.</p>
- <hr/>
-{% else %}
- {% for post in paginator.posts %}
- <h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
- <p class="text-muted">
- <span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ post.date | date: '%-d %B %Y' }}
- {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ site.baseurl }}/categories/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}
- </p>
- {{ post.excerpt | markdownify }}
- <hr/>
- {% endfor %}
- <div class="text-center">
- {% include common/paginator.html %}
- </div>
-{% endif %}
+{% include posts/posts.html %}