bangled too hard
confusedbread confuseddbread@gmail.com
Thu, 03 Jul 2025 15:41:10 +0200
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/main.rs
→
src/main.rs
@@ -23,8 +23,8 @@ (DOCTYPE)
head { meta charset="utf-8"; title { (page_title) } - link rel="icon" href={(format!("{}/neodog_laptop_notice.png", STATIC))}; - link rel="stylesheet" href=(format!("{}/static/style.css", STATIC)); + link rel="icon" href="./static/neodog_laptop_notice.png"; + link rel="stylesheet" href="static/style.css"; script src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.6/dist/htmx.min.js" {} script { "htmx.config.selfRequestsOnly = false" } }@@ -96,7 +96,7 @@ h1 { "Boop me" }
div class="boop timestamp" { (format!("boops since {}:",Local::now().format("%d/%m/%Y %H:%M UTC%Z"))) } div class="boop counter" #boop-counter hx-get={(format!("{}/boop", URL))} hx-trigger="load" {} div class="boop stack" { - img class="boop unboop" src=(format!("{}/neodog.png", STATIC)) {} + img class="boop unboop" src="./static/neodog.png" {} button class="boop button" hx-post={(format!("{}/boop", URL))} hx-trigger="mousedown throttle:300ms" hx-swap="swap:275ms" hx-target="#boop-counter" {} } }