aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-22 23:52:21 +0300
committerValentin Popov <info@valentineus.link>2018-04-22 23:52:21 +0300
commite292dce707c80cd4ae4cdde7cb891174c80f2c92 (patch)
tree9832e8d5a244b3e57943bc4aac15b7ababc97a2d
parent824ebd27d66b74331fa0ba90139686a175336760 (diff)
downloadpopov.link-e292dce707c80cd4ae4cdde7cb891174c80f2c92.tar.xz
popov.link-e292dce707c80cd4ae4cdde7cb891174c80f2c92.zip
Improved page layer
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--_layouts/page.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/_layouts/page.html b/_layouts/page.html
index d513db4..5e6d1de 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -3,16 +3,9 @@ layout: default
---
<div class="content">
- {% include navbar.html %}
-
<article>
- <header class="header">
- <h1 class="header-title">
- {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
- </h1>
- <p class="header-annotation">
- {{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
- </p>
+ <header>
+ <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | capitalize }}</h1>
</header>
{{ content }}