feat: minification #17

Merged
Anri merged 14 commits from minification into main 2023-04-09 19:30:04 +02:00
6 changed files with 6 additions and 6 deletions
Showing only changes of commit 45b2de54fb - Show all commits

View file

@ -14,7 +14,7 @@ pub async fn security(req: HttpRequest, config: web::Data<Config>) -> impl Respo
} }
#[derive(Template)] #[derive(Template)]
#[template(path = "../templates/security.txt")] #[template(path = "security.txt")]
struct SecurityTemplate { struct SecurityTemplate {
contact: String, contact: String,
pref_lang: String, pref_lang: String,

View file

@ -9,7 +9,7 @@ pub async fn page() -> impl Responder {
} }
#[derive(Template)] #[derive(Template)]
#[template(path = "../templates/contrib.html")] #[template(path = "contrib.html")]
struct PortfolioTemplate {} struct PortfolioTemplate {}
pub fn get_page() -> std::string::String { pub fn get_page() -> std::string::String {

View file

@ -9,7 +9,7 @@ pub async fn page() -> impl Responder {
} }
#[derive(Template)] #[derive(Template)]
#[template(path = "../templates/index.html")] #[template(path = "index.html")]
struct IndexTemplate {} struct IndexTemplate {}
pub fn get_page() -> std::string::String { pub fn get_page() -> std::string::String {

View file

@ -9,7 +9,7 @@ pub async fn page() -> impl Responder {
} }
#[derive(Template)] #[derive(Template)]
#[template(path = "../templates/networks.html")] #[template(path = "networks.html")]
struct NetworksTemplate {} struct NetworksTemplate {}
pub fn get_page() -> std::string::String { pub fn get_page() -> std::string::String {

View file

@ -8,7 +8,7 @@ pub async fn page() -> impl Responder {
} }
#[derive(Template)] #[derive(Template)]
#[template(path = "../templates/404.html")] #[template(path = "404.html")]
struct Error404Template {} struct Error404Template {}
pub fn get_page() -> std::string::String { pub fn get_page() -> std::string::String {

View file

@ -9,7 +9,7 @@ pub async fn page() -> impl Responder {
} }
#[derive(Template)] #[derive(Template)]
#[template(path = "../templates/portfolio.html")] #[template(path = "portfolio.html")]
struct PortfolioTemplate {} struct PortfolioTemplate {}
pub fn get_page() -> std::string::String { pub fn get_page() -> std::string::String {