aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.html
blob: 3d525abb712288c6a18f712a0d831572449ce62d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
title: C++ tips
layout: main
group: "navigation"
---
{% if site.posts.size == 0 %}
  <h3>Sorry, there're no posts yet.</h3>
  <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 %}