Merge branch 'master' of git.dennogumi.org:einar/dennogumi.org
This commit is contained in:
commit
7da2ffed07
2 changed files with 3 additions and 3 deletions
|
@ -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: /
|
||||
|
||||
|
|
|
@ -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 }}">« {{ 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 }}">« {{ 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 }}">« {{ 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 }} »</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 }} »</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
|
||||
|
|
Reference in a new issue