+ Embed widget
+ Add your diary to your blog or website:
+ <iframe src="{{ embed_url }}" width="100%" height="600" style="border:none;border-radius:8px" loading="lazy"></iframe>
+
{% endblock %}
diff --git a/crates/presentation/src/handlers/html.rs b/crates/presentation/src/handlers/html.rs
index cea5b43..7d290cc 100644
--- a/crates/presentation/src/handlers/html.rs
+++ b/crates/presentation/src/handlers/html.rs
@@ -1251,6 +1251,11 @@ pub async fn get_profile_settings(
also_known_as: also_known_as.as_deref(),
profile_fields: &profile_fields,
saved,
+ embed_url: format!(
+ "{}/users/{}?embed=1",
+ state.app_ctx.config.base_url,
+ user_id.value()
+ ),
})
.into_response()
}