1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-07 20:45:36 -05:00

Preload profile/tweet images, banners, and icons

This commit is contained in:
Zed
2021-01-08 00:50:10 +01:00
parent 768642a2cc
commit ed7ecf7c8d
3 changed files with 20 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ template respList*(list, timeline, vnode: typed) =
html = renderList(vnode, timeline.query, list)
rss = "/$1/lists/$2/rss" % [@"name", @"list"]
resp renderMain(html, request, cfg, prefs, rss=rss)
resp renderMain(html, request, cfg, prefs, rss=rss, banner=list.banner)
proc createListRouter*(cfg: Config) =
router list: