diff options
| author | Eltrac <hi@guhub.cn> | 2025-06-02 10:05:59 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-06-02 10:05:59 +0800 |
| commit | 7fbcc28260a9683e3085b08d462a7407fa8fd62f (patch) | |
| tree | 32baf0eefc63dbac29be81334be1ffe656875937 /layouts/library | |
| parent | 526f83f082b1cbcb62b9f41bead35ac954bf0f76 (diff) | |
perf: show small image in library page
Diffstat (limited to 'layouts/library')
| -rw-r--r-- | layouts/library/section.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/library/section.html b/layouts/library/section.html index 3b4e0199..221cc005 100644 --- a/layouts/library/section.html +++ b/layouts/library/section.html @@ -10,7 +10,7 @@ <div class="book{{ if eq .Params.rating 1 }} badbook{{ end }}{{ if eq .Params.rating 5 }} goodbook{{ end }}"> <a href="{{ .Permalink }}" class="book-cover" style="view-transition-name: book-{{ .Title }}"> <img - class="lazy" src="{{ .Params.cover }}" + class="lazy" src="{{ .Params.cover }}!small" style="view-transition-name: book-{{ .File.UniqueID }}" /> </a> </div> |
