Escaping tweaks
parent
3e1b04b31e
commit
93e365737e
|
@ -6,7 +6,7 @@
|
|||
{% endif -%}
|
||||
<li class="post-list-item">
|
||||
<h2 class="title">
|
||||
<a href={{ page.permalink }}>{{page.title}}</a>
|
||||
<a href={{ page.permalink | safe }}>{{ page.title }}</a>
|
||||
</h2>
|
||||
{%- if page.description %}
|
||||
<div class="description">
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
{%- for menu in config.extra.menu %}
|
||||
{%- set external = menu.external | default(value=false) -%}
|
||||
{%- 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 %}
|
||||
<a href={{ get_url(path=menu.url) }}>{{ menu.name }}</a>
|
||||
<a href={{ get_url(path=menu.url) }}>{{ menu.name | safe }}</a>
|
||||
{%- endif -%}
|
||||
{% endfor %}
|
||||
</nav>
|
||||
|
|
|
@ -22,13 +22,13 @@
|
|||
<ul class="pagination">
|
||||
{% if paginator.previous %}
|
||||
<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>
|
||||
{% endif %}
|
||||
|
||||
{% if paginator.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>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue