1
Fork 0
blog/index.html
Jan-Erik Rediger 27c7600eff Prepend baseurl everywhere.
This allows for easy re-deployment in sub folders
2014-10-20 23:32:23 +02:00

27 lines
648 B
HTML

---
layout: default
title: fnordig.de
---
{% for post in paginator.posts %}
{% include single_page.html %}
{% endfor %}
<div class="paginator">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a class="prev" href="{{site.baseurl}}">« Previous page</a>
{% else %}
<a class="prev" href="{{site.baseurl}}page{{paginator.previous_page}}">« Previous page</a>
{% endif %}
{% endif %}
{% if paginator.previous_page && paginator.next_page %}
|
{% endif %}
{% if paginator.next_page %}
<a class="next" href="{{site.baseurl}}page{{paginator.next_page}}">Next page »</a>
{% endif %}
</div>