@@ -33,10 +33,16 @@ header = do
3333 meta_ [charset_ " UTF-8" ]
3434 meta_ [name_ " viewport" , content_ " width=device-width, initial-scale=1" ]
3535 unless indexPage $ meta_ [name_ " robots" , content_ " noindex" ]
36- -- link_ [rel_ "icon", href_ "/static/icons/favicon.svg", type_ "image/svg+xml"]
3736 link_ [rel_ " apple-touch-icon" , sizes_ " 180x180" , href_ " /static/icons/apple-touch-icon.png" ]
38- link_ [rel_ " icon" , type_ " image/png" , sizes_ " 32x32" , href_ " /static/icons/favicon-32x32.png" ]
39- link_ [rel_ " icon" , type_ " image/png" , sizes_ " 16x16" , href_ " /static/icons/favicon-16x16.png" ]
37+ case environment of
38+ Development -> do
39+ link_ [rel_ " icon" , href_ " /static/icons/favicon-dev.svg" , type_ " image/svg+xml" ]
40+ link_ [rel_ " icon" , type_ " image/png" , sizes_ " 32x32" , href_ " /static/icons/favicon-dev-32x32.png" ]
41+ link_ [rel_ " icon" , type_ " image/png" , sizes_ " 16x16" , href_ " /static/icons/favicon-dev-16x16.png" ]
42+ _ -> do
43+ link_ [rel_ " icon" , href_ " /static/icons/favicon.svg" , type_ " image/svg+xml" ]
44+ link_ [rel_ " icon" , type_ " image/png" , sizes_ " 32x32" , href_ " /static/icons/favicon-32x32.png" ]
45+ link_ [rel_ " icon" , type_ " image/png" , sizes_ " 16x16" , href_ " /static/icons/favicon-16x16.png" ]
4046 link_ [rel_ " manifest" , href_ " /static/icons/site.webmanifest" ]
4147 link_ [rel_ " mask-icon" , href_ " /static/icons/safari-pinned-tab.svg" , color_ " #5bbad5" ]
4248 meta_ [name_ " msapplication-TileColor" , content_ " #da532c" ]
0 commit comments