summaryrefslogtreecommitdiffstats
path: root/blog/_layouts/post.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2016-09-23 19:04:44 +0200
committerHarald Eilertsen <haraldei@anduin.net>2016-09-23 19:04:44 +0200
commit9266dded62ec306ca8f8ffbaafd13bf1ae907a21 (patch)
treec8877b05851bfc8ab1b8d1c03af2c21668f238a0 /blog/_layouts/post.html
parentad5a9b222e47a51f863220cf63d74c0fd2051b9d (diff)
downloadnorsk-urskog-main-9266dded62ec306ca8f8ffbaafd13bf1ae907a21.tar.gz
norsk-urskog-main-9266dded62ec306ca8f8ffbaafd13bf1ae907a21.tar.bz2
norsk-urskog-main-9266dded62ec306ca8f8ffbaafd13bf1ae907a21.zip
Prepend locale on prev-/next post urls.
Diffstat (limited to 'blog/_layouts/post.html')
-rw-r--r--blog/_layouts/post.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/blog/_layouts/post.html b/blog/_layouts/post.html
index 17d4979..cb33296 100644
--- a/blog/_layouts/post.html
+++ b/blog/_layouts/post.html
@@ -9,10 +9,10 @@ layout: default
</section>
<footer>
{% if page.previous %}
- <div class="prev-post"><a href="{{ page.previous.url }}">{{ page.previous.title }}</a></div>
+ <div class="prev-post"><a href="{{ page.previous.url | prepend: site.baseurl }}">{{ page.previous.title }}</a></div>
{% endif %}
{% if page.next %}
- <div class="next-post"><a href="{{ page.next.url }}">{{ page.next.title }}</a></div>
+ <div class="next-post"><a href="{{ page.next.url | prepend: site.baseurl }}">{{ page.next.title }}</a></div>
{% endif %}
</footer>
</article>