mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-01-22 21:58:39 +01:00
35 lines
1.4 KiB
HTML
35 lines
1.4 KiB
HTML
---
|
|
layout: default
|
|
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">
|
|
{{ post.content | split:'<!--break-->' | first }}{% if post.content contains '<!--break-->' %} <a href="{{ post.url }}"> ... read more</a> {% endif %}
|
|
</div>
|
|
</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>
|