mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 23:07:50 +00:00
Fix escaping issues by adding safe filters in more places (#678)
This commit is contained in:
committed by
GitHub
parent
50aaa206bf
commit
7f4fc340ad
@@ -25,9 +25,9 @@
|
||||
<header class="masthead">
|
||||
<div style="position:relative">
|
||||
<h1 class="masthead-title">
|
||||
<a href="{{ config.base_url }}" title="Home">{{ config.title }} (Second Edition)</a>
|
||||
<a href="{{ config.base_url | safe }}" title="Home">{{ config.title | safe }} (Second Edition)</a>
|
||||
</h1>
|
||||
<p><small>{{ config.extra.subtitle | replace(from=" ", to=" ")}}</small></p>
|
||||
<p><small>{{ config.extra.subtitle | replace(from=" ", to=" ") | safe }}</small></p>
|
||||
{% block header %}{% endblock header %}
|
||||
</div>
|
||||
</header>
|
||||
@@ -40,7 +40,7 @@
|
||||
<hr>
|
||||
<small>
|
||||
© <time datetime="2019">2019</time>. All rights reserved.
|
||||
<a href="{{ get_url(path="@/pages/contact.md") }}">Contact</a>
|
||||
<a href="{{ get_url(path="@/pages/contact.md") | safe }}">Contact</a>
|
||||
</small>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user