mind-overflow-website-ghost.../page.hbs
Lorenzo DellacĂ  fbf125bf20 Fix wrong aspect ratio in pages
Pages have no columns, so we had to account for that.
2021-03-17 16:54:14 +01:00

39 lines
1.3 KiB
Handlebars

{{!< default}}
<div class="mind-post-header unselectable">
{{#post}}
<div>
<h1>{{title}}</h1>
</div>
{{/post}}
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
</div>
<main>
<div class="mind-content_main">
<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-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}}
</div>
{{content}}
</div>
</div>
{{/post}}
</div>
</div>
</main>