diff --git a/api/src/page.rs b/api/src/page.rs index 6b22eeb..f92450d 100644 --- a/api/src/page.rs +++ b/api/src/page.rs @@ -30,7 +30,6 @@ pub fn default_map() -> HashMap<&'static str, String> { #[get("/")] pub async fn home() -> Template { let mut h = default_map(); - h.insert("script_src", String::from("index.js")); h.insert("page", String::from("home")); h.insert("title", SITENAME.clone()); @@ -40,7 +39,6 @@ pub async fn home() -> Template { #[get("/category/")] pub async fn category(cat: PathBuf) -> Template { let mut h = default_map(); - h.insert("script_src", String::from("category.js")); h.insert("page", String::from("category")); // Opengraph meta tags bro diff --git a/api/templates/admin.html.tera b/api/templates/admin.html.tera index 9cfcce6..563c48d 100644 --- a/api/templates/admin.html.tera +++ b/api/templates/admin.html.tera @@ -8,9 +8,7 @@ Clippable Admin Dashboard - - - +
diff --git a/api/templates/list.html.tera b/api/templates/list.html.tera index a802f1d..bdea348 100644 --- a/api/templates/list.html.tera +++ b/api/templates/list.html.tera @@ -26,7 +26,7 @@ {% endif %} - +
diff --git a/api/templates/video.html.tera b/api/templates/video.html.tera index 6affbda..38e5165 100644 --- a/api/templates/video.html.tera +++ b/api/templates/video.html.tera @@ -24,7 +24,7 @@ {% if script %} - + {% endif %}