Escaping tweaks
parent
3e1b04b31e
commit
93e365737e
|
@ -6,7 +6,7 @@
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
<li class="post-list-item">
|
<li class="post-list-item">
|
||||||
<h2 class="title">
|
<h2 class="title">
|
||||||
<a href={{ page.permalink }}>{{page.title}}</a>
|
<a href={{ page.permalink | safe }}>{{ page.title }}</a>
|
||||||
</h2>
|
</h2>
|
||||||
{%- if page.description %}
|
{%- if page.description %}
|
||||||
<div class="description">
|
<div class="description">
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
{%- for menu in config.extra.menu %}
|
{%- for menu in config.extra.menu %}
|
||||||
{%- set external = menu.external | default(value=false) -%}
|
{%- set external = menu.external | default(value=false) -%}
|
||||||
{%- if external %}
|
{%- if external %}
|
||||||
<a href={{ menu.url }} target="_blank" rel="me noopener noreferrer">{{ menu.name }}</a>
|
<a href={{ menu.url | safe }} target="_blank" rel="me noopener noreferrer">{{ menu.name | safe }}</a>
|
||||||
{%- else %}
|
{%- else %}
|
||||||
<a href={{ get_url(path=menu.url) }}>{{ menu.name }}</a>
|
<a href={{ get_url(path=menu.url) }}>{{ menu.name | safe }}</a>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -22,13 +22,13 @@
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
{% if paginator.previous %}
|
{% if paginator.previous %}
|
||||||
<span class="page-item page-prev">
|
<span class="page-item page-prev">
|
||||||
<a href={{ paginator.previous }} class="page-link" aria-label="Previous"><span aria-hidden="true">← Prev</span></a>
|
<a href={{ paginator.previous | safe }} class="page-link" aria-label="Previous"><span aria-hidden="true">← Prev</span></a>
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if paginator.next %}
|
{% if paginator.next %}
|
||||||
<span class="page-item page-next">
|
<span class="page-item page-next">
|
||||||
<a href={{ paginator.next }} class="page-link" aria-label="Next"><span aria-hidden="true">Next →</span></a>
|
<a href={{ paginator.next | safe }} class="page-link" aria-label="Next"><span aria-hidden="true">Next →</span></a>
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue