feat: minification
#17
6 changed files with 6 additions and 6 deletions
|
@ -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,
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue