mirror of
https://github.com/aljazceru/cryptoanarchywiki.github.io.git
synced 2025-12-17 13:14:21 +01:00
41 lines
1.3 KiB
HTML
41 lines
1.3 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<div id="home">
|
|
<h1>Stack Problems</h1>
|
|
<hr />
|
|
<ol class="posts">
|
|
{% for post in site.posts %}
|
|
<li><a href="{{ post.url }}">{{ post.title }}</a> » <i><span>{{ post.date | date_to_string }}</span></i></li>
|
|
{% endfor %}
|
|
</ol>
|
|
|
|
<!-- Pagination links -->
|
|
{% if paginator.total_pages > 1 %}
|
|
<div class="pagination">
|
|
{% if paginator.previous_page %}
|
|
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a>
|
|
{% else %}
|
|
<span>« Prev</span>
|
|
{% endif %}
|
|
|
|
{% for page in (1..paginator.total_pages) %}
|
|
{% if page == paginator.page %}
|
|
<em>{{ page }}</em>
|
|
{% elsif page == 1 %}
|
|
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
|
|
{% else %}
|
|
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% if paginator.next_page %}
|
|
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a>
|
|
{% else %}
|
|
<span>Next »</span>
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|
|
</div><!-- end #home -->
|