aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.html
blob: 66c084385d4a730c74703ceabe1d757601c1d02b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
title: Main page
layout: sidebar
groups:
  - navbar
navbar_link: <span class="glyphicon glyphicon-home"></span>&nbsp;Main page
---
{% 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> Posted on {{ post.date | date_to_long_string }}</p>
    <p>{{ post.excerpt }}</p>
    <hr/>
  {% endfor %}
  <div class="text-center">
    {% include common/pagination.html %}
  </div>
{% endif %}