aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/posts/index.html
blob: a18beb63ee7638e73f93e14c81afaafa14b0ba08 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
   
            


               
                                                                         
               


                                                        
                                                                                                                                



                                                                            
                                                                                                                          






                                        
---
title: Posts
layout: sidebar
groups:
  - navbar
navbar_link: <span class="glyphicon glyphicon-th-list"></span>&nbsp;Posts
root_page: true
---
{% if site.posts.size == 0 %}
  <p class="h3">Sorry, no posts have been added yet.</p>
  <p class="text-muted">But I've made quite a few <a href="{{ site.baseurl }}/">plots</a> which you might want to check out.</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: '%-d %B %Y' }}</p>
    <p>{{ post.excerpt }}</p>
    <hr/>
  {% endfor %}
  <div class="text-center">
    {% include common/pagination.html %}
  </div>
{% endif %}