blob: 71a6d9a10445254342a4f5d8484af07d202baabb (
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
|
{% if site.posts.size == 0 %}
<p class="h3">Sorry, no posts have been added yet.</p>
<hr/>
{% else %}
{% for post in paginator.posts %}
<div class="row post-header">
<div class="col-xs-12 col-sm-8">
<h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
</div>
<div class="col-xs-12 col-sm-4 post-date">
<p class="text-muted">
{% if post.category %}
<span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ '/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>
{% endif %}
<span class="glyphicon glyphicon-time"></span> {{ post.date | date: '%-d %b %Y' }}
</p>
</div>
</div>
{{ post.excerpt | markdownify }}
<hr/>
{% endfor %}
<div class="text-center">
{% include posts/paginator.html %}
</div>
{% endif %}
|