diff --git a/crates/adapters/template-askama/src/lib.rs b/crates/adapters/template-askama/src/lib.rs index 1782a33..62151a6 100644 --- a/crates/adapters/template-askama/src/lib.rs +++ b/crates/adapters/template-askama/src/lib.rs @@ -258,7 +258,7 @@ impl<'a> EmbedProfileTemplate<'a> { let parts = [ format!("view={}", self.view), format!("sort_by={}", self.sort_by), - "embed=1".to_string(), + "embed=true".to_string(), ]; format!("&{}", parts.join("&")) } diff --git a/crates/adapters/template-askama/templates/embed_profile.html b/crates/adapters/template-askama/templates/embed_profile.html index 9f28404..de8dfdd 100644 --- a/crates/adapters/template-askama/templates/embed_profile.html +++ b/crates/adapters/template-askama/templates/embed_profile.html @@ -25,10 +25,10 @@
- Recent - Top Rated - History - Trends + Recent + Top Rated + History + Trends
{% if view == "recent" || view == "ratings" %} diff --git a/crates/presentation/src/handlers/html.rs b/crates/presentation/src/handlers/html.rs index 56bb640..fbc5cde 100644 --- a/crates/presentation/src/handlers/html.rs +++ b/crates/presentation/src/handlers/html.rs @@ -1253,7 +1253,7 @@ pub async fn get_profile_settings( profile_fields: &profile_fields, saved, embed_url: format!( - "{}/users/{}?embed=1", + "{}/users/{}?embed=true", state.app_ctx.config.base_url, user_id.value() ),