blob: 14cc41e694ee36eb282d22bd7b1f8b3d2bf597cf (
plain) (
tree)
|
|
{% 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="post-entry">
<div class="post-header">
<h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
<div class="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 }}
</div>
{% endfor %}
<div class="text-center">
{% include posts/paginator.html %}
</div>
{% endif %}
|