1
0
Fork 0

Merge branch 'master' of git.dennogumi.org:einar/dennogumi.org

This commit is contained in:
Luca Beltrame 2015-05-23 12:26:52 +02:00
commit 7da2ffed07
2 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ paginate: 7
# Pagination path  Important for blog page in /blog/ to work
paginate_path: "/page:num"
paginate_path: "/page/:num"
# Blog root: keep a slash here
blog_root: /

View file

@ -27,14 +27,14 @@
{% if paginator.previous_page == 1 %}
<a class="radius button small" href="{{ site.url }}{{ site.blog_root }}" title="{{ site.data.language.previous_posts }}">&laquo; {{ site.data.language.previous_posts }}</a>
{% else %}
<a class="radius button small" href="{{ site.url }}{{ site.blog_root }}page{{ paginator.previous_page }}/" title="{{ site.data.language.previous_posts }}">&laquo; {{ site.data.language.previous }}</a>
<a class="radius button small" href="{{ site.url }}{{ site.blog_root }}page/{{ paginator.previous_page }}/" title="{{ site.data.language.previous_posts }}">&laquo; {{ site.data.language.previous }}</a>
{% endif %}
{% endif %}
<a class="radius button small" href="{{ site.url }}{{ site.blog_root }}archive/" title="{{ site.data.language.blog_archive }}">{{ site.data.language.blog_archive }}</a>
{% if paginator.next_page %}
<a class="radius button small" href="{{ site.url }}{{ site.blog_root }}page{{ paginator.next_page }}/" title="{{ site.data.language.next_posts }}">{{ site.data.language.next }} &raquo;</a>
<a class="radius button small" href="{{ site.url }}{{ site.blog_root }}page/{{ paginator.next_page }}/" title="{{ site.data.language.next_posts }}">{{ site.data.language.next }} &raquo;</a>
{% endif %}
</nav>