diff options
| author | Xe Iaso <me@christine.website> | 2022-10-30 21:53:57 -0400 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2022-10-30 21:53:57 -0400 |
| commit | 69268b676a83074ac1c6e3231b634ccf6d529d94 (patch) | |
| tree | 1d68e0f11c021e1be7d2ba0a7e4241a37b2f4ca8 /templates | |
| parent | 9c28a6face3d3b70679ee666d6a416dc333a8324 (diff) | |
| download | xesite-69268b676a83074ac1c6e3231b634ccf6d529d94.tar.xz xesite-69268b676a83074ac1c6e3231b634ccf6d529d94.zip | |
HAHAHAHA I WIN
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/header.rs.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/header.rs.html b/templates/header.rs.html index ac2094c..2a4977c 100644 --- a/templates/header.rs.html +++ b/templates/header.rs.html @@ -1,4 +1,5 @@ @use chrono::{Datelike, Utc}; +@use crate::handlers::feeds::CACHEBUSTER; @(title: Option<&str>, styles: Option<&str>) @@ -56,10 +57,10 @@ la budza pu cusku lu <title>Xe</title> } <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link rel="stylesheet" href="/css/hack.css" /> - <link rel="stylesheet" href="/css/gruvbox-dark.css" /> - <link rel="stylesheet" href="/css/shim.css" /> - @if Utc::now().month() == 12 || Utc::now().month() == 1 || Utc::now().month() == 2 { <link rel="stylesheet" href="/css/snow.css?snowfix=20211201" /> } + <link rel="stylesheet" href="/css/hack.css?bustCache=@CACHEBUSTER" /> + <link rel="stylesheet" href="/css/gruvbox-dark.css?bustCache=@CACHEBUSTER" /> + <link rel="stylesheet" href="/css/shim.css?bustCache=@CACHEBUSTER" /> + @if Utc::now().month() == 12 || Utc::now().month() == 1 || Utc::now().month() == 2 { <link rel="stylesheet" href="/css/snow.css?bustCache=@CACHEBUSTER" /> } <link rel="manifest" href="/static/manifest.json" /> <link rel="alternate" title="Xe's Blog" type="application/rss+xml" href="https://xeiaso.net/blog.rss" /> |
