summaryrefslogtreecommitdiffstats
path: root/blog/_layouts/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'blog/_layouts/post.html')
-rw-r--r--blog/_layouts/post.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/blog/_layouts/post.html b/blog/_layouts/post.html
index 8a3cccb..f4f2a59 100644
--- a/blog/_layouts/post.html
+++ b/blog/_layouts/post.html
@@ -13,11 +13,11 @@ layout: default
{{ content }}
</section>
<footer>
- {% if page.previous %}
- <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 | prepend: site.baseurl }}">{{ page.next.title }}</a></div>
- {% endif %}
+ <div class="prev-post">
+ {% link_to_prev_page Forrige: %}
+ </div>
+ <div class="next-post">
+ {% link_to_next_page Neste: %}
+ </div>
</footer>
</article>