feat: with safe links
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-10-24 10:13:42 +02:00
parent d30619374d
commit 318b7ff9d4
3 changed files with 7 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
{% block extra_head %}
<link rel="canonical" href="{{ page.permalink }}">
<link rel="canonical" href="{{ page.permalink | safe }}">
{% endblock extra_head %}
{% block title %}
@@ -30,10 +30,10 @@
{% if page.lower or page.higher %}
<div class="flex place-content-around max-w-lg mx-auto">
{% if page.lower %}
<a class="previous" href="{{ page.lower.permalink }}"> {{ page.lower.title }}</a>
<a class="previous" href="{{ page.lower.permalink | safe }}"> {{ page.lower.title }}</a>
{% endif %}
{% if page.higher %}
<a class="next" href="{{ page.higher.permalink }}">{{ page.higher.title }} </a>
<a class="next" href="{{ page.higher.permalink | safe }}">{{ page.higher.title }} </a>
{% endif %}
</div>
{% endif %}