diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-07-21 23:50:32 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-07-22 00:00:18 -0400 |
commit | 39d56bc98834b09fc6939fd27bde8848efbb251d (patch) | |
tree | 404e6d12464884a763949215bb66081c74cf56c9 /.themes/classic/source/index.html | |
parent | 44e1351fc71eaef7aefdc168dc9bc15b20d4bda4 (diff) | |
download | my_new_personal_website-39d56bc98834b09fc6939fd27bde8848efbb251d.tar.xz my_new_personal_website-39d56bc98834b09fc6939fd27bde8848efbb251d.zip |
Finally a nice solution for mapping relative urls
Diffstat (limited to '.themes/classic/source/index.html')
-rw-r--r-- | .themes/classic/source/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.themes/classic/source/index.html b/.themes/classic/source/index.html index f1d97f90..4719cd12 100644 --- a/.themes/classic/source/index.html +++ b/.themes/classic/source/index.html @@ -14,13 +14,13 @@ footer: false <nav role="pagination"> <div> {% if paginator.next_page %} - <a class="prev" href="{{ site.root }}/page{{paginator.next_page}}/">← Older</a> + <a class="prev" href="/page{{paginator.next_page}}/">← Older</a> {% endif %} - <a href="{{ site.root }}/blog/archives">Blog Archives</a> + <a href="/blog/archives">Blog Archives</a> {% if paginator.previous_page and paginator.previous_page > 1 %} - <a class="next" href="{{ site.root }}/page{{paginator.previous_page}}/">Newer →</a> + <a class="next" href="/page{{paginator.previous_page}}/">Newer →</a> {% elsif paginator.previous_page %} - <a class="next" href="{{ site.root }}/">Newer →</a> + <a class="next" href="/">Newer →</a> {% endif %} </div> </nav> |