Fix wrong aspect ratio in pages
Pages have no columns, so we had to account for that.
This commit is contained in:
28
page.hbs
28
page.hbs
@@ -13,22 +13,24 @@
|
||||
<div class="mind-post_central-column">
|
||||
{{#post}}
|
||||
<div class="mind-post_content"> {{!-- Keeping this div to have the same structure as the post.hbs, even though not necessary --}}
|
||||
<div class="mind-post_content-header">
|
||||
<div class="mind-page_main">
|
||||
<div class="mind-post_content-header">
|
||||
|
||||
{{#if feature_image}}
|
||||
<img class="mind-post_feature-image" alt="{{title}}"
|
||||
srcset="
|
||||
{{img_url feature_image size="s"}} 300w,
|
||||
{{img_url feature_image size="m"}} 600w,
|
||||
{{img_url feature_image size="l"}} 1200w,
|
||||
{{img_url feature_image size="xl"}} 1600w,
|
||||
{{img_url feature_image size="xxl"}} 2000w"
|
||||
src="{{img_url feature_image size="l"}}"
|
||||
/>
|
||||
{{#if feature_image}}
|
||||
<img class="mind-post_feature-image" alt="{{title}}"
|
||||
srcset="
|
||||
{{img_url feature_image size="s"}} 300w,
|
||||
{{img_url feature_image size="m"}} 600w,
|
||||
{{img_url feature_image size="l"}} 1200w,
|
||||
{{img_url feature_image size="xl"}} 1600w,
|
||||
{{img_url feature_image size="xxl"}} 2000w"
|
||||
src="{{img_url feature_image size="l"}}"
|
||||
/>
|
||||
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{content}}
|
||||
</div>
|
||||
{{content}}
|
||||
</div>
|
||||
{{/post}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user