pedf
/
fakulta-online
Archived
1
0
Fork 0

Safe HTML v názvech

master
Emil Miler 3 years ago
parent e2de04bfdb
commit 9186205cb1

@ -2,7 +2,7 @@
{% block content %}
<section>
<h2>{{ page.title }}</h2>
<h2>{{ page.title | safe }}</h2>
{% if page.extra.author %}
<div class="metadata">{{ page.extra.author }}</div>
{% endif %}

@ -8,7 +8,7 @@
{% block content %}
<section class="meta">
<div>
<h2>{{ page.title }}</h2>
<h2>{{ page.title | safe }}</h2>
<p>{{ page.description | safe }}</p>
</div>
{% if page.extra.mainimage %}
@ -25,9 +25,9 @@
{% for page in section.pages %}
<a href="{{ page.permalink }}">
{% if page.extra.short_title %}
{{ page.extra.short_title }}
{{ page.extra.short_title | safe }}
{% else %}
{{ page.title }}
{{ page.title | safe }}
{% endif %}
</a>
{% endfor %}