From e1a9f63dc93b8bccdc8fa40ef92359091460d38c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 18 Apr 2018 01:07:49 +0400 Subject: [PATCH] Page template --- _layouts/page.html | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/_layouts/page.html b/_layouts/page.html index fdd735f..d513db4 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,11 +2,19 @@ layout: default --- -
-
-
-

{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}

-
- {{ content }} -
-
+
+ {% include navbar.html %} + +
+
+

+ {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} +

+

+ {{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} +

+
+ + {{ content }} +
+