summaryrefslogtreecommitdiff
path: root/layouts/section.html
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-02-20 15:57:19 +0800
committereltrac <hi@eltr.ac>2026-02-20 15:57:19 +0800
commit02a247ba9112ae944169c7665ba9be87e91c02dc (patch)
treea3d7a1b021fd4b6ce5f765c8f89002074b5cb3bc /layouts/section.html
parent453dc430a100729652551643e3024dd36d0dbb21 (diff)
perf: render items of long list only after scrolled into view
Diffstat (limited to 'layouts/section.html')
-rw-r--r--layouts/section.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/section.html b/layouts/section.html
index a70c6cd1..7497a217 100644
--- a/layouts/section.html
+++ b/layouts/section.html
@@ -25,7 +25,7 @@
)}}
{{ range .Pages.GroupByDate "January" }}
- <div class="posts-month-archive"{{ if gt $remainingMonthsToOpen 0 }} open{{ end }}>
+ <div class="lazy-render"{{ if gt $remainingMonthsToOpen 0 }} open{{ end }}>
<h2 class="text-size-lg inline-block w-full m-0
flex justify-between items-center">
{{ .Key }}