From 8bf1119b0b1989bd2dfd3f34798236e92e4bdada Mon Sep 17 00:00:00 2001 From: Damillora Date: Tue, 20 Apr 2021 16:04:39 +0700 Subject: [PATCH] feat: responsive post thumbnail images --- partials/post-background.hbs | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/partials/post-background.hbs b/partials/post-background.hbs index c133da7..4ef1961 100644 --- a/partials/post-background.hbs +++ b/partials/post-background.hbs @@ -8,14 +8,19 @@ be a background image using CSS, we end up with a handful of inline styles. If the template in question has a background image, then we render responsive image styles for it, and apply those styles to the
tag. Else, we just output a
tag -with a `no-image` class so we can style it accordingly. ---}} -
-
- {{#if feature_image}} - {{title}} - {{else}} - {{title}} - {{/if}} -
-
+ with a `no-image` class so we can style it accordingly. + --}} +
+
+ {{#if feature_image}} + {{title}} + {{else}} + {{title}} + {{/if}} +
+
\ No newline at end of file