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 -%} {% 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">

View File

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

View File

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