My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/apps/servers/octopus/src/templ_data/files.rs

13 lines
337 B

//! File browser template data
use super::BaseData;
use askama::Template;
// This struct needs escapng=none to render README files it encounters along the way
#[derive(Template)]
#[template(path = "files.html", escape = "none")]
pub(crate) struct Files {
pub base: BaseData,
pub path: String,
pub readme: Option<String>,
}