mirror of
https://github.com/Damillora/Yuika
synced 2024-12-25 13:43:46 +00:00
fix: Post thumbnail once more
This commit is contained in:
parent
58bcb00b18
commit
506123bfac
2
assets/js/lib/jquery-3.6.0.min.js
vendored
Normal file
2
assets/js/lib/jquery-3.6.0.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -27,9 +27,7 @@
|
||||
{{> "site-header"}}
|
||||
<div>
|
||||
{{{body}}}
|
||||
</div>
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
|
||||
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
</div>
|
||||
|
||||
<script src="{{asset "built/yuika.js"}}"></script>
|
||||
{{{block "scripts"}}}
|
||||
|
@ -13,11 +13,11 @@ for it, and apply those styles to the <header> tag. Else, we just output a <head
|
||||
<div>
|
||||
<div class="post-card__image">
|
||||
{{#if feature_image}}
|
||||
<img srcset="{{img_url feature_image size=" s"}} 300w"
|
||||
src="{{img_url feature_image size=" m"}}" alt="{{title}}" loading="lazy">
|
||||
<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"
|
||||
src="{{img_url @site.cover_image size=" m"}}" alt="{{title}}" loading="lazy">
|
||||
<img srcset="{{img_url feature_image size="s"}} 300w"
|
||||
src="{{img_url @site.cover_image size="m"}}" alt="{{title}}" loading="lazy">
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user