mirror of
https://github.com/Damillora/Yuika
synced 2024-11-22 09:17:33 +00:00
fix: performance fixes
This commit is contained in:
parent
93b5a272f7
commit
b77d0cb85c
@ -11,6 +11,7 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin />
|
||||
|
||||
<link rel="preload" as="style" href="https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap" />
|
||||
<link rel="preload" as="style" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
|
||||
<link rel="preload" as="style" href="{{asset "built/styles.css"}}" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap" />
|
||||
|
@ -13,9 +13,9 @@ with a `no-image` class so we can style it accordingly.
|
||||
<div>
|
||||
<div class="post-card__image">
|
||||
{{#if feature_image}}
|
||||
<img src="{{img_url feature_image size='m'}}">
|
||||
<img src="{{img_url feature_image size='m'}}" alt="{{title}}">
|
||||
{{else}}
|
||||
<img src="{{img_url @site.cover_image size='m'}}">
|
||||
<img src="{{img_url @site.cover_image size='m'}}" alt="{{title}}">
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -61,4 +61,4 @@
|
||||
<p>{{excerpt words="30"}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</article>
|
||||
|
Loading…
Reference in New Issue
Block a user