aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/posts/index.html
blob: f33aaaa542de8a3b8e15f6dc91047686f53c38bc (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/pagination.html %}
  </div>
{% endif %}