diff --git a/backend/src/main.rs b/backend/src/main.rs index d6110e2..6ad652f 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -23,6 +23,8 @@ struct AppState { struct SiteConfig { title: String, subtitle: String, + welcome_title: String, + welcome_subtitle: String, footer: String, favicon: String, theme: String, @@ -34,6 +36,8 @@ impl Default for SiteConfig { Self { title: "Narlblog".to_string(), subtitle: "A clean, modern blog".to_string(), + welcome_title: "Welcome to my blog".to_string(), + welcome_subtitle: "Thoughts on software, design, and building things with Rust and Astro.".to_string(), footer: "Built with Rust & Astro".to_string(), favicon: "/favicon.svg".to_string(), theme: "mocha".to_string(), diff --git a/frontend/src/pages/admin/editor.astro b/frontend/src/pages/admin/editor.astro index b989e2c..cf99571 100644 --- a/frontend/src/pages/admin/editor.astro +++ b/frontend/src/pages/admin/editor.astro @@ -9,33 +9,6 @@ import Layout from '../../layouts/Layout.astro'; - -