From 67ba61d93be74179af3dd6d9b3831dcaf8e4c7df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenzo=20Dellac=C3=A0?= Date: Wed, 4 Nov 2020 23:43:30 +0100 Subject: [PATCH] Fix missing handlebars checks --- default.hbs | 1 - page.hbs | 3 +++ partials/post-card-big.hbs | 5 ++++- partials/posts-card-small.hbs | 5 ++++- partials/tag-card-big.hbs | 14 ++++++++------ post.hbs | 5 ++++- 6 files changed, 23 insertions(+), 10 deletions(-) diff --git a/default.hbs b/default.hbs index fb7be37..33ccfdf 100755 --- a/default.hbs +++ b/default.hbs @@ -16,7 +16,6 @@ {{!-- TODO: REMOVE ON PRODUCTION! --}} - {{!-- Scripts End --}} {{!-- Begin Page-specific code --}} diff --git a/page.hbs b/page.hbs index cecf898..6de59d1 100644 --- a/page.hbs +++ b/page.hbs @@ -14,7 +14,10 @@ {{#post}}
+ + {{#if feature_image}} Feature Image + {{/if}}
{{content}}
diff --git a/partials/post-card-big.hbs b/partials/post-card-big.hbs index 55ff61c..630bbe9 100644 --- a/partials/post-card-big.hbs +++ b/partials/post-card-big.hbs @@ -1,6 +1,9 @@
- Feature Image + + {{#if feature_image}} + Feature Image + {{/if}}

{{primary_tag.name}}

diff --git a/partials/posts-card-small.hbs b/partials/posts-card-small.hbs index 66bff15..ab2d4fb 100644 --- a/partials/posts-card-small.hbs +++ b/partials/posts-card-small.hbs @@ -3,7 +3,10 @@ {{#foreach related}}
- Feature Image + + {{#if feature_image}} + Feature Image + {{/if}}

{{primary_tag.name}}

{{title}}
diff --git a/partials/tag-card-big.hbs b/partials/tag-card-big.hbs index 601e1e5..e723b47 100644 --- a/partials/tag-card-big.hbs +++ b/partials/tag-card-big.hbs @@ -1,8 +1,10 @@
diff --git a/post.hbs b/post.hbs index 5ad2ca5..7a693fb 100755 --- a/post.hbs +++ b/post.hbs @@ -18,7 +18,10 @@ {{#post}}
- Feature Image + + {{#if feature_image}} + Feature Image + {{/if}}
{{content}}