mirror of
https://github.com/Damillora/Yuika
synced 2024-11-23 01:37:33 +00:00
fix: remove sizes property for post thumbnail
This commit is contained in:
parent
10fdcb80b1
commit
8b5dc4f853
@ -15,12 +15,11 @@ for it, and apply those styles to the <header> tag. Else, we just output a <head
|
|||||||
{{#if feature_image}}
|
{{#if feature_image}}
|
||||||
<img srcset="{{img_url feature_image size=" s"}} 300w, {{img_url feature_image size="m" }} 600w,
|
<img srcset="{{img_url feature_image size=" s"}} 300w, {{img_url feature_image size="m" }} 600w,
|
||||||
{{img_url feature_image size="l" }} 1000w, {{img_url feature_image size="xl" }} 2000w"
|
{{img_url feature_image size="l" }} 1000w, {{img_url feature_image size="xl" }} 2000w"
|
||||||
sizes="(max-width: 1000px) 400px, 700px" src="{{img_url feature_image size=" m"}}" alt="{{title}}">
|
src="{{img_url feature_image size=" m"}}" alt="{{title}}">
|
||||||
{{else}}
|
{{else}}
|
||||||
<img srcset="{{img_url @site.cover_image size=" s"}} 300w, {{img_url @site.cover_image size="m" }} 600w,
|
<img srcset="{{img_url @site.cover_image size=" s"}} 300w, {{img_url @site.cover_image size="m" }} 600w,
|
||||||
{{img_url @site.cover_image size="l" }} 1000w, {{img_url @site.cover_image size="xl" }} 2000w"
|
{{img_url @site.cover_image size="l" }} 1000w, {{img_url @site.cover_image size="xl" }} 2000w"
|
||||||
sizes="(max-width: 1000px) 400px, 700px" src="{{img_url @site.cover_image size=" m"}}"
|
src="{{img_url @site.cover_image size=" m"}}" alt="{{title}}">
|
||||||
alt="{{title}}">
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user