aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/index.html
blob: 8bedd3f5f1c281a8e135021489609d5a2aa80a67 (plain) (tree)
1
2
3
4
5
6
   
                
            

          
                                                                          







                                                                                                                                          










                                                                                                                                                       





                                 
---
title: Main page
layout: main
groups:
  - navbar
navbar_link: <span class="glyphicon glyphicon-home"></span>&nbsp;Main page
---
{% if site.posts.size == 0 %}
  <h3>Sorry, there're no posts yet.</h3>
  <p class="text-muted">But I've made quite a few <a href="{{ site.baseurl }}/plots.html">plots</a> which you might want to check out.</p>
  <hr/>
{% else %}
  {% for post in paginator.posts %}
    <h2>{{ post.title }}</h2>
    {{ post.excerpt }}
    <div style="display: table; width: 100%;">
      <div style="display: table-row;">
        <div style="display: table-cell;">
          <a class="btn btn-primary" href="{{ site.baseurl }}{{ post.url }}">Read More&nbsp;<span class="glyphicon glyphicon-chevron-right"></span></a>
        </div>
        <div class="text-muted" style="text-align: right; display: table-cell;">
          &nbsp;<span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date_to_long_string }}
        </div>
      </div>
    </div>
    <hr/>
  {% endfor %}
  <div class="text-center">
    {% include pagination.html %}
  </div>
{% endif %}