diff options
| author | eltrac <hi@eltr.ac> | 2026-02-20 15:57:19 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-02-20 15:57:19 +0800 |
| commit | 02a247ba9112ae944169c7665ba9be87e91c02dc (patch) | |
| tree | a3d7a1b021fd4b6ce5f765c8f89002074b5cb3bc /layouts/archive.html | |
| parent | 453dc430a100729652551643e3024dd36d0dbb21 (diff) | |
perf: render items of long list only after scrolled into view
Diffstat (limited to 'layouts/archive.html')
| -rw-r--r-- | layouts/archive.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/archive.html b/layouts/archive.html index 3af7c9ce..764f0879 100644 --- a/layouts/archive.html +++ b/layouts/archive.html @@ -6,7 +6,7 @@ <ol class="mx-0 my-4 p-0 leading-loose flex flex-col-reverse"> {{ range (.Site.RegularPages | collections.Reverse) }} {{ if eq .Language .Site.Language }} - <li class="list-decimal text-secondary"> + <li class="list-decimal text-secondary lazy-render"> <div class="flex justify-between"> <a href="{{ .Permalink }}">{{ .LinkTitle }}</a> <a href="/{{ .Section }}" class="font-mono text-secondary">{{ .Section }}</a> |
