Escaping tweaks
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

pull/1/head
mat ess 2022-10-21 02:32:07 -04:00
parent 3e1b04b31e
commit 93e365737e
3 changed files with 5 additions and 5 deletions

View File

@ -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">

View File

@ -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>

View File

@ -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>