fix: fix post thumbnail srcset

This commit is contained in:
Damillora 2021-04-20 17:46:57 +07:00
parent 276119e573
commit bbb024de2d
1 changed files with 1 additions and 1 deletions

View File

@ -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>