diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2016-09-23 19:04:44 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2016-09-23 19:04:44 +0200 |
commit | 9266dded62ec306ca8f8ffbaafd13bf1ae907a21 (patch) | |
tree | c8877b05851bfc8ab1b8d1c03af2c21668f238a0 | |
parent | ad5a9b222e47a51f863220cf63d74c0fd2051b9d (diff) | |
download | norsk-urskog-main-9266dded62ec306ca8f8ffbaafd13bf1ae907a21.tar.gz norsk-urskog-main-9266dded62ec306ca8f8ffbaafd13bf1ae907a21.tar.bz2 norsk-urskog-main-9266dded62ec306ca8f8ffbaafd13bf1ae907a21.zip |
Prepend locale on prev-/next post urls.
-rw-r--r-- | blog/_layouts/post.html | 4 |
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> |