Add experimental infinite scroll

This commit is contained in:
Zed 2020-01-07 03:00:16 +01:00
commit 2c6d2897ae
6 changed files with 82 additions and 11 deletions

View file

@ -56,6 +56,9 @@ proc renderHead*(prefs: Prefs; cfg: Config; titleText=""; desc=""; video="";
script(src="/js/hls.light.min.js")
script(src="/js/hlsPlayback.js")
if prefs.infiniteScroll:
script(src="/js/infiniteScroll.js")
title:
if titleText.len > 0:
text titleText & " | " & cfg.title