diff --git a/plume-models/src/blogs.rs b/plume-models/src/blogs.rs index a52dad57..a4037ec2 100644 --- a/plume-models/src/blogs.rs +++ b/plume-models/src/blogs.rs @@ -335,7 +335,7 @@ impl Blog { .unwrap_or_else(|| Host::new(format!( "{}/~/{}", Instance::get_local().unwrap().public_domain, - self.title + self.fqn, ))) ) } diff --git a/src/routes/blogs.rs b/src/routes/blogs.rs index bdcb1c55..41251a3c 100644 --- a/src/routes/blogs.rs +++ b/src/routes/blogs.rs @@ -68,7 +68,7 @@ pub fn details( match (blog.custom_domain, page) { (Some(ref custom_domain), Some(ref page)) => { - Ok(Redirect::to(format!("https://{}/?{}", custom_domain, page)).into()) + Ok(Redirect::to(format!("https://{}/?page={}", custom_domain, page)).into()) } (Some(ref custom_domain), _) => { Ok(Redirect::to(format!("https://{}/", custom_domain)).into())