portal/blog/index.html

17 lines
782 B
HTML
Raw Normal View History

2020-01-25 22:56:59 +01:00
---
2020-01-26 14:03:17 +01:00
title: Blog
2020-01-25 22:56:59 +01:00
layout: page-screen
---
2020-01-26 01:58:08 +01:00
<h2>▄▀▄▀ Recent Posts ▀▄▀▄</h2>
{% for post in paginator.posts %}
░▒▓█ {{post.date | date: '%Y-%m-%d' }} █▓▒░<a href="{{site.baseurl}}{{post.url}}">cat {{post.title | replace:' ','_'}}.txt</a>
2020-01-25 22:56:59 +01:00
{%endfor%}
2020-01-26 01:58:08 +01:00
{% if paginator.total_pages > 1 %}
{% if paginator.page == 1 %} <p>Page {{paginator.page}} <a href="{{site.baseurl}}{{paginator.next_page_path}}">»</a> </p>
{% elsif paginator.page == paginator.total_pages %} <p> <a href="{{site.baseurl}}{{paginator.previous_page_path}}">«</a> Page {{paginator.page}} </p>
{% else %} <p> <a href="{{site.baseurl}}{{paginator.previous_page_path}}">«</a> {{paginator.page}} <a href="{{site.baseurl}}{{paginator.next_page_path}}">»</a> </p>
{% endif %}
{% endif %}