Lazy load video game mod banners

This commit is contained in:
Leilukin 2024-06-06 21:47:36 +08:00 committed by Helen Chong
parent bf22f412e0
commit b11383bd23

View File

@ -1,7 +1,7 @@
{%- macro modEntry(params) -%}
### {{ params.title }}
<div class="mod-entry">
<img src="/assets/projects/{{ params.bannerFile }}" alt="Banner of {{ params.title }} mod">
<img src="/assets/projects/{{ params.bannerFile }}" alt="Banner of {{ params.title }} mod" loading="lazy">
<p>{{ params.desc }}</p>
<h4>Download the mod:</h4>
<div class="mod-entry__downloads">