Hide newsletter form if setting is disabled in the Admin. Support for feature image caption in posts

This commit is contained in:
Eduardo Gomez 2021-10-09 15:58:02 +02:00
parent da7c113ef9
commit d746737ce1
5 changed files with 29 additions and 16 deletions

File diff suppressed because one or more lines are too long

View File

@ -54,5 +54,5 @@
"desktop": "assets/screenshot-desktop.jpg",
"mobile": "assets/screenshot-mobile.jpg"
},
"version": "1.0.4"
"version": "1.0.5"
}

View File

@ -27,6 +27,15 @@ into the {body} of the default.hbs template --}}
{{!-- Inject styles of the hero image to make it responsive --}}
{{> hero background=feature_image}}
</section>
{{#if feature_image}}
{{#if feature_image_caption}}
<div class="l-wrapper in-caption">
<p class="m-small-text align-center">
{{feature_image_caption}}
</p>
</div>
{{/if}}
{{/if}}
{{/post}}
<article>

View File

@ -55,3 +55,7 @@
padding-top: 80px;
}
}
.l-wrapper.in-caption {
padding-top: 10px;
}