diff --git a/page.hbs b/page.hbs index 1acc6b7..054eb83 100644 --- a/page.hbs +++ b/page.hbs @@ -10,30 +10,32 @@ into the {body} tag of the default.hbs template --}}
-
+ {{#if show_title_and_feature_image}} +
-

{{title}}

+

{{title}}

- {{#if feature_image}} -
- {{!-- This is a responsive image, it loads different sizes depending on device - https://medium.freecodecamp.org/a-guide-to-responsive-images-with-ready-to-use-templates-c400bd65c433 --}} - {{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}} - {{#if feature_image_caption}} -
{{feature_image_caption}}
- {{/if}} -
- {{/if}} + {{#if feature_image}} +
+ {{!-- This is a responsive image, it loads different sizes depending on device + https://medium.freecodecamp.org/a-guide-to-responsive-images-with-ready-to-use-templates-c400bd65c433 --}} + {{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}} + {{#if feature_image_caption}} +
{{feature_image_caption}}
+ {{/if}} +
+ {{/if}} -
+
+ {{/if}}
{{content}}