mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
More cleanup
This commit is contained in:
parent
a9034928eb
commit
74c4377198
7 changed files with 11 additions and 11 deletions
|
|
@ -86,7 +86,7 @@ proc renderHead*(prefs: Prefs; cfg: Config; titleText=""; desc=""; video="";
|
|||
|
||||
if banner.len > 0:
|
||||
let bannerUrl = getPicUrl(banner)
|
||||
link(rel="preload", type="image/png", href=getPicUrl(banner), `as`="image")
|
||||
link(rel="preload", type="image/png", href=bannerUrl, `as`="image")
|
||||
|
||||
for url in images:
|
||||
let suffix = if "400x400" in url: "" else: "?name=small"
|
||||
|
|
|
|||
Loading…
Reference in a new issue