@@ -32,6 +32,7 @@ instance ToHtml a => ToHtml (Template a) where
32
32
let description = case descriptionM of
33
33
Nothing -> " unsafePerformIO is the blog and personal website of Wilfred Denton."
34
34
Just description' -> description'
35
+ assetVer = " 1"
35
36
title_ $ toHtml title
36
37
meta_ [charset_ " utf-8" ]
37
38
meta_ [name_ " description" , content_ description]
@@ -51,12 +52,12 @@ instance ToHtml a => ToHtml (Template a) where
51
52
meta_ [name_ " twitter:image" , content_ " https://unsafe-perform.io/static/img/favicon.png" ]
52
53
meta_ [name_ " twitter:card" , content_ " summary" ]
53
54
link_ [rel_ " icon" , type_ " image/png" , href_ " /static/img/favicon.png" ]
54
- link_ [rel_ " stylesheet" , type_ " text/css" , href_ " /static/css/style.css" ]
55
+ link_ [rel_ " stylesheet" , type_ " text/css" , href_ $ " /static/css/style.css?= " <> assetVer ]
55
56
link_ [rel_ " stylesheet" , type_ " text/css" , href_ " /static/css/bootstrap-grid.min.css" ]
56
57
link_ [rel_ " stylesheet" , type_ " text/css" , href_ " /static/katex/katex.min.css" ]
57
58
script_ [src_ " /static/katex/katex.min.js" ] (" " :: Text )
58
59
script_ [src_ " /static/katex/auto-render.min.js" ] (" " :: Text )
59
- script_ [src_ " /static/js/script.js" , async_ " true" ] (" " :: Text )
60
+ script_ [src_ $ " /static/js/script.js?= " <> assetVer , async_ " true" ] (" " :: Text )
60
61
script_ [src_ " https://www.googletagmanager.com/gtag/js?id=UA-131857401-1" , async_ " true" ] (" " :: Text )
61
62
script_ " window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-131857401-1');"
62
63
body_ $ do
0 commit comments