mirror of
https://github.com/Damillora/Yuika
synced 2024-11-22 09:17:33 +00:00
fix: fix post thumbnail srcset
This commit is contained in:
parent
276119e573
commit
bbb024de2d
@ -16,7 +16,7 @@ for it, and apply those styles to the <header> tag. Else, we just output a <head
|
||||
<img srcset="{{img_url feature_image size="s"}} 300w"
|
||||
src="{{img_url feature_image size="m"}}" alt="{{title}}" loading="lazy">
|
||||
{{else}}
|
||||
<img srcset="{{img_url feature_image size="s"}} 300w"
|
||||
<img srcset="{{img_url @site.cover_image size="s"}} 300w"
|
||||
src="{{img_url @site.cover_image size="m"}}" alt="{{title}}" loading="lazy">
|
||||
{{/if}}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user