use askama_axum::Template; use axum_htmx::HxRequest; #[derive(Template)] #[template(path = "cps.html")] pub struct CpsTemplate { hx_request: bool, } pub async fn cps(HxRequest(hx_request): HxRequest) -> CpsTemplate { CpsTemplate { hx_request } }