hash statics
This commit is contained in:
parent
a45bf45015
commit
d925573629
12 changed files with 139 additions and 1464 deletions
|
|
@ -1,5 +1,6 @@
|
|||
use axum::extract::State;
|
||||
use axum::response::IntoResponse;
|
||||
use cache_bust::asset;
|
||||
use chrono::{Local, NaiveDate, TimeDelta};
|
||||
use maud::{Markup, html};
|
||||
use sqlx::sqlite::SqlitePool;
|
||||
|
|
@ -230,7 +231,7 @@ pub mod get {
|
|||
.fetch_all(pool)
|
||||
.await?;
|
||||
Ok(layout.render(
|
||||
Some(vec!["/static/home.css", "/static/journal.css"]),
|
||||
Some(vec![asset!("home.css"), asset!("journal.css")]),
|
||||
html! {
|
||||
(freshness_section(&freshens)?)
|
||||
(birthdays_section(&prev_birthdays, &upcoming_birthdays)?)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue