Infinite scrolling

This commit is contained in:
zhbaor 2022-10-20 19:11:46 +08:00
parent acbe9a09dc
commit 155f1af30d
6 changed files with 130 additions and 1 deletions

View file

@ -5,6 +5,9 @@
{{ partial "row.html" . }}
{{ end }}
</div>
{{ if .Site.Params.infiniteScroll }}
{{ partial "loading.html" . }}
{{ end }}
{{ end }}
@ -34,4 +37,4 @@
{{ else }}
<div class="page-item disabled">Next ></div>
{{ end }}
{{ end }}
{{ end }}