Hide newsletter form if setting is disabled in the Admin. Support for feature image caption in posts
This commit is contained in:
parent
da7c113ef9
commit
d746737ce1
File diff suppressed because one or more lines are too long
@ -54,5 +54,5 @@
|
||||
"desktop": "assets/screenshot-desktop.jpg",
|
||||
"mobile": "assets/screenshot-mobile.jpg"
|
||||
},
|
||||
"version": "1.0.4"
|
||||
"version": "1.0.5"
|
||||
}
|
||||
|
9
post.hbs
9
post.hbs
@ -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>
|
||||
|
@ -55,3 +55,7 @@
|
||||
padding-top: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
.l-wrapper.in-caption {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user