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

                             
                                                        


                                   
                                                                            

                                                                                                         
                                                                                                                                                                                                                     
        
                                    


                           
                                       

           
---
title: Main page
layout: sidebar
groups:
  - navbar
navbar_link: <span class="glyphicon glyphicon-home"></span>&nbsp;Main page
root_page: true
---
{% 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>&nbsp;Posted on {{ post.date | date_to_long_string }}
      {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}
    </p>
    {{ post.excerpt | markdownify }}
    <hr/>
  {% endfor %}
  <div class="text-center">
    {% include common/paginator.html %}
  </div>
{% endif %}