From 6169de80db7e035f7d3978541a3cbc8f55cca48c Mon Sep 17 00:00:00 2001 From: giles Date: Sun, 15 Sep 2024 22:37:41 +0100 Subject: [PATCH] try span --- partials/content.hbs | 177 ++++++++++++++++++++----------------------- 1 file changed, 82 insertions(+), 95 deletions(-) diff --git a/partials/content.hbs b/partials/content.hbs index 5e25fd1..df506ed 100644 --- a/partials/content.hbs +++ b/partials/content.hbs @@ -1,73 +1,63 @@
{{#match @page.show_title_and_feature_image}} -
- {{#is "post"}} -
- - - {{reading_time}} - - {{#primary_tag}} - - - - {{/primary_tag}} -
- {{/is}} + + {{reading_time}} + + {{#primary_tag}} + + + + {{/primary_tag}} + + {{/is}} -

{{title}}

+

{{title}}

+
+
- {{#if custom_excerpt}} -
- {{custom_excerpt}} -
+
+
+ + {{#if custom_excerpt}} +
+ {{custom_excerpt}} +
+ {{/if}} +
+
+ + {{#if feature_image}} + {{#unless no_image}} +
+ {{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}} + {{#if feature_image_caption}} +
{{feature_image_caption}}
{{/if}} -
-
- -
-
-
-
- - {{#if feature_image}} - {{#unless no_image}} -
- {{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}} - {{#if feature_image_caption}} -
{{feature_image_caption}}
- {{/if}} -
- {{/unless}} - {{/if}} -
+ + {{/unless}} + {{/if}} + {{/match}}
@@ -76,58 +66,55 @@ {{#is "post"}}
- -
-
-
-
{{/is}}