Permalink
Browse files

fixed pagination bug when baseurl is /

  • Loading branch information...
1 parent b3b33e0 commit 14959edd29d60b95a87f21559f0b5b3d52be1ed6 @nhoss2 committed Jan 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.html
View
2 index.html
@@ -13,7 +13,7 @@
<ul>
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
- <li class="previous"><a href="{{ site.baseurl }}">&larr; Previous</a></li>
+ <li class="previous"><a href="{{ linkhome }}">&larr; Previous</a></li>
{% else %}
<li class="previous"><a href="{{ site.baseurl }}/page{{ paginator.previous_page }}">&larr; Previous</a></li>
{% endif %}

0 comments on commit 14959ed

Please sign in to comment.