Add version query to css to force updates

This commit is contained in:
Zed 2020-11-08 03:15:51 +01:00
parent 4610ec6122
commit 0ef85031a7

View file

@ -45,8 +45,8 @@ proc renderHead*(prefs: Prefs; cfg: Config; titleText=""; desc=""; video="";
opensearchUrl = "http://" & cfg.hostname & "/opensearch"
buildHtml(head):
link(rel="stylesheet", `type`="text/css", href="/css/style.css")
link(rel="stylesheet", `type`="text/css", href="/css/fontello.css")
link(rel="stylesheet", `type`="text/css", href="/css/style.css?v=1")
link(rel="stylesheet", `type`="text/css", href="/css/fontello.css?v=1")
link(rel="apple-touch-icon", sizes="180x180", href="/apple-touch-icon.png")
link(rel="icon", type="image/png", sizes="32x32", href="/favicon-32x32.png")
link(rel="icon", type="image/png", sizes="16x16", href="/favicon-16x16.png")