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

          
                                                                         
               


                                                        
                                                                                                                                



                                                                            
                                                                                                                               



                             
                                       

           
---
title: Posts
layout: default
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>&nbsp;Posted on {{ post.date | date: '%-d %B %Y' }}</p>
    <p>{{ post.excerpt }}</p>
    <hr/>
  {% endfor %}
  <div class="text-center">
    {% include common/paginator.html %}
  </div>
{% endif %}