diff options
-rw-r--r-- | code/src/atom.rs | 6 | ||||
-rw-r--r-- | code/src/main.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/code/src/atom.rs b/code/src/atom.rs index 0b3b5ba..7912b97 100644 --- a/code/src/atom.rs +++ b/code/src/atom.rs @@ -27,7 +27,7 @@ pub fn generate_atom(args: &Args) -> String { r#" <entry> <title>{title}</title> - <link href="https://{BLOG_BASE}/{canonical_name}.html" /> + <link href="{BLOG_BASE}/{canonical_name}.html" /> <id>tag:metamuffin.org,{date},{title}</id> <published>{datetime}</published> <summary>N/A</summary> @@ -45,8 +45,8 @@ pub fn generate_atom(args: &Args) -> String { <feed xmlns="http://www.w3.org/2005/Atom"> <title>metamuffin's blog</title> <subtitle>where they post pointless stuff</subtitle> - <link href="https://{BLOG_BASE}/feed.atom" rel="self" /> - <link href="https://{BLOG_BASE}/" /> + <link href="{BLOG_BASE}/feed.atom" rel="self" /> + <link href="{BLOG_BASE}/" /> <id>urn:uuid:3cf2b704-3d94-4f1f-b194-42798ab5b47c</id> <updated>{}</updated> <author> diff --git a/code/src/main.rs b/code/src/main.rs index c20d137..21732d7 100644 --- a/code/src/main.rs +++ b/code/src/main.rs @@ -14,7 +14,7 @@ use std::{ process::{Command, Stdio}, }; -pub const BLOG_BASE: &'static str = "s.metamuffin.org/temp/blog-preview"; +pub const BLOG_BASE: &'static str = "https://metamuffin.org/blog"; #[derive(Parser)] pub struct Args { |