boxes/index.html

35 lines
1.4 KiB
HTML
Raw Normal View History

---
layout: default
2014-12-24 14:04:40 +01:00
sedesc: Command line ASCII boxes unlimited!
---
{% include boxes/shortdescription.html %}
{% for post in paginator.posts %}
<div class="article">
<div class="well well-sm">
<h1><a href="{{ site.baseurl}}{{ post.url }}">{{ post.date | date: "%b %-d, %Y" }} - {{ post.title }}</a></h1>
{% if site.comments == true and post.comments == true and site.disqus != '' %}
<p class="author"><a href="{{ site.baseurl }}{{ post.url }}/#disqus_thread">Comments</a></p>
{% endif %}
<div class="content">
2015-01-16 23:10:20 +01:00
{{ post.content | split:'<!--break-->' | first }}{% if post.content contains '<!--break-->' %} <a href="{{ post.url }}"> ... read more</a> {% endif %}
</div>
2014-12-23 22:26:19 +01:00
</div>
</div>
{% endfor %}
<div class="pagination">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a class="btn btn-default" href="{{ site.baseurl}}/index.html" class="previous">Newer</a>
{% else %}
<a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.previous_page }}" class="previous">Newer</a>
{% endif %}
{% endif %}
<span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.next_page }}" class="next">Older</a>
{% endif %}
</div>