home: hopefully make background image load smoother
This commit is contained in:
@@ -7,6 +7,9 @@ atom.town {
|
|||||||
root * /srv/home
|
root * /srv/home
|
||||||
file_server
|
file_server
|
||||||
encode zstd
|
encode zstd
|
||||||
|
|
||||||
|
@assets path /assets/*
|
||||||
|
header @assets Cache-Control "public, max-age=604800, immutable"
|
||||||
}
|
}
|
||||||
|
|
||||||
post.atom.town {
|
post.atom.town {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
<link rel="stylesheet" href="style/reset.css">
|
<link rel="stylesheet" href="style/reset.css">
|
||||||
<link rel="stylesheet" href="style/style.css">
|
<link rel="stylesheet" href="style/style.css">
|
||||||
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
||||||
|
<link rel="preload" as="image" href="assets/clouds.avif">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="assets/logo.png" class="logo" />
|
<img src="assets/logo.png" class="logo" />
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
<link rel="stylesheet" href="style/reset.css">
|
<link rel="stylesheet" href="style/reset.css">
|
||||||
<link rel="stylesheet" href="style/style.css">
|
<link rel="stylesheet" href="style/style.css">
|
||||||
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
||||||
|
<link rel="preload" as="image" href="assets/clouds.avif">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="assets/logo.png" class="logo" />
|
<img src="assets/logo.png" class="logo" />
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
<link rel="stylesheet" href="style/reset.css">
|
<link rel="stylesheet" href="style/reset.css">
|
||||||
<link rel="stylesheet" href="style/style.css">
|
<link rel="stylesheet" href="style/style.css">
|
||||||
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
||||||
|
<link rel="preload" as="image" href="assets/clouds.avif">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="assets/logo.png" class="logo" />
|
<img src="assets/logo.png" class="logo" />
|
||||||
|
|||||||
Reference in New Issue
Block a user