mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Use absolute paths instead of permalink
This makes links also work in deploy previews.
This commit is contained in:
@@ -31,10 +31,10 @@
|
||||
<hr>
|
||||
<div class="PageNavigation">
|
||||
{% if page.previous %}
|
||||
<a class="prev" href="{{ page.previous.permalink | safe }}">« {{ page.previous.title }}</a>
|
||||
<a class="prev" href="/{{ page.previous.path | safe }}">« {{ page.previous.title }}</a>
|
||||
{% endif %}
|
||||
{% if page.next %}
|
||||
<a class="next" href="{{ page.next.permalink | safe }}">{{ page.next.title }} »</a>
|
||||
<a class="next" href="/{{ page.next.path | safe }}">{{ page.next.title }} »</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user