From 56b969c930fd40a45fcf2da2b42f5db16efef67f Mon Sep 17 00:00:00 2001 From: stefanbc Date: Fri, 29 Mar 2019 22:56:24 +0200 Subject: [PATCH] Page and post layout improvements --- page.hbs | 32 +++++++++--- partials/sidebar.hbs | 2 - post.hbs | 118 +++++++++++++++++++++---------------------- 3 files changed, 84 insertions(+), 68 deletions(-) diff --git a/page.hbs b/page.hbs index 6cfcbea..15dc6ca 100644 --- a/page.hbs +++ b/page.hbs @@ -1,12 +1,30 @@ {{!< default}} + {{#post}} -
-

{{{title}}}

+
+
+
+ {{#if feature_image}} +
+ +
+ {{/if}} + +
+

{{{title}}}

+
-
-
- {{content}} +
+
+ {{content}} +
+
+
+
+
-
-
+ +
{{/post}} \ No newline at end of file diff --git a/partials/sidebar.hbs b/partials/sidebar.hbs index d397872..21d99bf 100644 --- a/partials/sidebar.hbs +++ b/partials/sidebar.hbs @@ -5,7 +5,6 @@ -{{#post}}
Recent posts
@@ -20,7 +19,6 @@ {{/get}}
-{{/post}} {{#if tags}}
diff --git a/post.hbs b/post.hbs index 0eb5991..2e84bed 100644 --- a/post.hbs +++ b/post.hbs @@ -1,70 +1,70 @@ {{!< default}} -{{#post}} +{{#post}} {{#if featured}}
- {{else}} -
- {{/if}} +{{else}} +
+{{/if}} -
-
- {{#if feature_image}} -
- -
- {{/if}} +
+
+ {{#if feature_image}} +
+ +
+ {{/if}} -
- -

{{{title}}}

- - -
+
+ +

{{{title}}}

+ - +
-
-
- {{content}} -
-
+
+
+ {{content}} +
+
-
+
-
+ +
+
+
-
- {{/post}} \ No newline at end of file + +
+{{/post}} \ No newline at end of file