diff --git a/src/routes/user.rs b/src/routes/user.rs index 8252469f..af2da23d 100644 --- a/src/routes/user.rs +++ b/src/routes/user.rs @@ -532,7 +532,7 @@ pub fn atom_feed(name: String, conn: DbConn) -> Option> { .title(author.display_name.clone()) .id(Instance::get_local(&*conn) .unwrap() - .compute_box("~", &name, "atom.xml")) + .compute_box("@", &name, "atom.xml")) .entries( Post::get_recents_for_author(&*conn, &author, 15) .ok()? diff --git a/templates/base.rs.html b/templates/base.rs.html index b0840e85..a42ff030 100644 --- a/templates/base.rs.html +++ b/templates/base.rs.html @@ -13,6 +13,7 @@ + @:head() diff --git a/templates/blogs/details.rs.html b/templates/blogs/details.rs.html index 91430938..81664dc4 100644 --- a/templates/blogs/details.rs.html +++ b/templates/blogs/details.rs.html @@ -1,4 +1,5 @@ @use plume_models::blogs::Blog; +@use plume_models::instance::Instance; @use plume_models::posts::Post; @use plume_models::users::User; @use templates::{base, partials::post_card}; @@ -7,7 +8,22 @@ @(ctx: BaseContext, blog: Blog, authors: &[User], page: i32, n_pages: i32, posts: Vec) -@:base(ctx, blog.title.clone(), {}, { +@:base(ctx, blog.title.clone(), { + + + + + + + + + + + r + + + +}, { @blog.title }, {