diff options
Diffstat (limited to 'templates/images.html')
| -rw-r--r-- | templates/images.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/images.html b/templates/images.html index 9fd0584..c02dbe1 100644 --- a/templates/images.html +++ b/templates/images.html @@ -9,8 +9,8 @@ </title> <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> <link rel="stylesheet" href="static/main.css"> - {{if theme == "light"}}<link rel="stylesheet" href="static/theme-light.css">{{endif}} - {{if theme == "dark"}}<link rel="stylesheet" href="static/theme-dark.css">{{endif}} + {{if theme == "light"}}<link rel="preload" href="static/theme-light.css" as="style">{{endif}} + {{if theme == "dark"}}<link rel="preload" href="static/theme-dark.css" as="style">{{endif}} </head> <body class="images-view"> |
