Login
4 branches 0 tags
Ben (Desktop/Arch) Code cleanup 256cd20 1 month ago 118 Commits
rubhub / src / views / not_found.rs
use askama::Template;

use crate::views::ThemedRender;

#[derive(Template)]
#[template(path = "404.html")]
struct NotFoundTemplate;

pub async fn not_found() -> String {
    NotFoundTemplate.render_with_theme()
}