aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_layouts/page.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/_layouts/page.html b/_layouts/page.html
index 1a0cca5..67ac0c6 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -2,8 +2,12 @@
layout: default
---
-<!-- Contents of the page -->
<div class="page">
- <h1 class="page-title">{{ page.title }}</h1>
- {{ content }}
+ <!-- Header -->
+ <h1 class="page-title">
+ {{ page.title | smartify | strip_html | normalize_whitespace }}
+ </h1>
+
+ <!-- Contents -->
+ {{ content | normalize_whitespace }}
</div>