add cachebusting + maxwidth for img

This commit is contained in:
2026-09-08 02:17:00 +02:00
parent c0a8763e45
commit f12da2f7d1
3 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -18,9 +18,8 @@ amount of points to eat. The gif above is basically the entire game.
The only addition is pressing the `spacebar` to go at maximum speed. The only addition is pressing the `spacebar` to go at maximum speed.
I didn't really learn anything in Go but it was interesting to write something completely different than the usual It was interesting to write something completely different than the usual web stuff. I did enjoy it a lot and I'm
web stuff. I did enjoy it a lot and I'm looking forward to the next one, with bevy while learning rust. looking forward to the next one, with bevy while learning rust. It'll be more polished, maybe.
It'll be more polished, maybe.
If I had to point out one aspect I did not enjoy at all, it's **writing text**. It's probably because I'm coming from If I had to point out one aspect I did not enjoy at all, it's **writing text**. It's probably because I'm coming from
the web where this is so trivial, but what a nightmare to size and position. It's 100% a skill issue, I hope, but goddamn. the web where this is so trivial, but what a nightmare to size and position. It's 100% a skill issue, I hope, but goddamn.
+1
View File
@@ -417,6 +417,7 @@ textarea {
&.center { &.center {
display: block; display: block;
margin: 24px auto; margin: 24px auto;
max-width: 100%;
} }
} }
+1 -2
View File
@@ -15,8 +15,7 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" type="image/png" href="{{ get_url(path='/favicon.png', trailing_slash=false) | safe }}"/> <link rel="shortcut icon" type="image/png" href="{{ get_url(path='/favicon.png', trailing_slash=false) | safe }}"/>
<link rel="stylesheet" href="{{ get_url(path='main.css', <link rel="stylesheet" href="{{ get_url(path='main.css', trailing_slash=false, cachebust=true) | safe }}" />
trailing_slash=false) | safe }}" />
<title>{{ title }}</title> <title>{{ title }}</title>
</head> </head>