Browse Source

Added timestamp to generated css file link to fix Safari css refresh.

master
Daniel Sissom 2 months ago
parent
commit
e7bcc2d881
Signed by: djsissom GPG Key ID: 2C30FFB796852389
1 changed files with 2 additions and 1 deletions
  1. + 2
    - 1
      assets/templates/meta.pug

+ 2
- 1
assets/templates/meta.pug

@ -17,7 +17,8 @@ head
meta(name="msapplication-TileColor", content="#00aba9")
meta(name="theme-color", content="#ffffff")
- var timestamp = Math.floor(Date.now() / 10000)
link(rel="stylesheet", href=site_root + "assets/style/normalize.css")
link(rel="stylesheet", href=site_root + "assets/style/main.css")
link(rel="stylesheet", href=site_root + "assets/style/main.css?v=" + timestamp)
script(src="https://code.iconify.design/1/1.0.6/iconify.min.js")

Loading…
Cancel
Save