use askama::Template;
use axum::{response::Html, http::StatusCode};
use crate::views::ThemedRender;
#[derive(Template)]
#[template(path = "404.html")]
struct NotFoundTemplate;
pub async fn not_found() -> (StatusCode, Html<String>) {
(
StatusCode::NOT_FOUND,
Html(NotFoundTemplate.render_with_theme()),
)
}