Fix URL escapes in hrefs

This commit is contained in:
Paweł Romanowski 2019-04-03 19:21:19 +02:00
parent 01bce4ff04
commit 1e013d81e4
4 changed files with 14 additions and 14 deletions

View file

@ -11,11 +11,11 @@
{{ head_macros::head(config=config) }}
{%- if config.generate_rss %}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml") }}">
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml") | safe }}">
{% endif -%}
{%- if config.extra.favicon %}
<link rel="shortcut icon" type="{{ config.extra.favicon_mimetype | default(value="image/x-icon") }}" href="{{ config.extra.favicon }}">
<link rel="shortcut icon" type="{{ config.extra.favicon_mimetype | default(value="image/x-icon") }}" href="{{ config.extra.favicon | safe }}">
{% endif -%}
{%- block extra_head %}
@ -68,7 +68,7 @@
<div class="pagination__buttons">
{%- if paginator.previous %}
<span class="button previous">
<a href="{{ paginator.previous }}">
<a href="{{ paginator.previous | safe }}">
<span class="button__icon"></span>&nbsp;
<span class="button__text">Newer posts</span>
</a>
@ -76,7 +76,7 @@
{% endif -%}
{%- if paginator.next %}
<span class="button next">
<a href="{{ paginator.next }}">
<a href="{{ paginator.next | safe }}">
<span class="button__text">Older posts</span>&nbsp;
<span class="button__icon"></span>
</a>