1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-22 17:27:32 +00:00

fix: Post thumbnail once more

This commit is contained in:
Damillora 2021-04-20 17:43:08 +07:00
parent 58bcb00b18
commit 506123bfac
3 changed files with 7 additions and 7 deletions

2
assets/js/lib/jquery-3.6.0.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -28,8 +28,6 @@
<div> <div>
{{{body}}} {{{body}}}
</div> </div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="{{asset "built/yuika.js"}}"></script> <script src="{{asset "built/yuika.js"}}"></script>
{{{block "scripts"}}} {{{block "scripts"}}}

View File

@ -13,11 +13,11 @@ for it, and apply those styles to the <header> tag. Else, we just output a <head
<div> <div>
<div class="post-card__image"> <div class="post-card__image">
{{#if feature_image}} {{#if feature_image}}
<img srcset="{{img_url feature_image size=" s"}} 300w" <img srcset="{{img_url feature_image size="s"}} 300w"
src="{{img_url feature_image size=" m"}}" alt="{{title}}" loading="lazy"> src="{{img_url feature_image size="m"}}" alt="{{title}}" loading="lazy">
{{else}} {{else}}
<img srcset="{{img_url feature_image size=" s"}} 300w" <img srcset="{{img_url feature_image size="s"}} 300w"
src="{{img_url @site.cover_image size=" m"}}" alt="{{title}}" loading="lazy"> src="{{img_url @site.cover_image size="m"}}" alt="{{title}}" loading="lazy">
{{/if}} {{/if}}
</div> </div>
</div> </div>