Lazy load video game mod banners

This commit is contained in:
Helen Chong 2024-06-06 21:47:36 +08:00
parent 1822d159bf
commit cfda69115b
1 changed files with 1 additions and 1 deletions

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