Implement more image resizing, fix responsiveness
- Two new image sizes have been added: xl and xxl. - Image resizing has been implemented in featured images. - Some elements were not responsive, such as the link preview and code block.
This commit is contained in:
11
page.hbs
11
page.hbs
@@ -16,7 +16,16 @@
|
||||
<div class="mind-post_content-header">
|
||||
|
||||
{{#if feature_image}}
|
||||
<img class="mind-post_feature-image" src="{{img_url feature_image size="l"}}" alt="Feature Image"/>
|
||||
<img class="mind-post_feature-image" alt="Feature Image"
|
||||
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}}
|
||||
|
||||
Reference in New Issue
Block a user