Added security to the page template
Signed-off-by: Valentin Popov <valentineus@gmail.com>
This commit is contained in:
parent
551391fad5
commit
cb2aa93e08
@ -2,8 +2,12 @@
|
|||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- Contents of the page -->
|
|
||||||
<div class="page">
|
<div class="page">
|
||||||
<h1 class="page-title">{{ page.title }}</h1>
|
<!-- Header -->
|
||||||
{{ content }}
|
<h1 class="page-title">
|
||||||
|
{{ page.title | smartify | strip_html | normalize_whitespace }}
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<!-- Contents -->
|
||||||
|
{{ content | normalize_whitespace }}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user