projects
/
blog
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
93de653
)
add baseurl to next/previous_page_path
author
Tom Anderson
<tom@squeat.com>
Tue, 3 Mar 2015 15:57:19 +0000
(08:57 -0700)
committer
Tom Anderson
<tom@squeat.com>
Tue, 3 Mar 2015 15:57:19 +0000
(08:57 -0700)
index.html
patch
|
blob
|
history
diff --git
a/index.html
b/index.html
index e3bb0cabf7da0a98a84808a1e931b46eee825783..9d06c215bb35741241816534a1a99ea3ec363585 100644
(file)
--- a/
index.html
+++ b/
index.html
@@
-21,12
+21,12
@@
title: Home
<div class="pagination">
{% if paginator.next_page %}
<div class="pagination">
{% if paginator.next_page %}
- <a class="pagination-item older" href="{{paginator.next_page_path}}">Older</a>
+ <a class="pagination-item older" href="{{paginator.next_page_path
| prepend: site.baseurl | replace: '//', '/'
}}">Older</a>
{% else %}
<span class="pagination-item older">Older</span>
{% endif %}
{% if paginator.previous_page %}
{% else %}
<span class="pagination-item older">Older</span>
{% endif %}
{% if paginator.previous_page %}
- <a class="pagination-item newer" href="{{paginator.previous_page_path}}">Newer</a>
+ <a class="pagination-item newer" href="{{paginator.previous_page_path
| prepend: site.baseurl | replace: '//', '/'
}}">Newer</a>
{% else %}
<span class="pagination-item newer">Newer</span>
{% endif %}
{% else %}
<span class="pagination-item newer">Newer</span>
{% endif %}