diff --git a/web/src/components/object.rs b/web/src/components/object.rs index e0c55a8f..cb0967fb 100644 --- a/web/src/components/object.rs +++ b/web/src/components/object.rs @@ -78,7 +78,7 @@ pub fn Attachment( "link" => view! { - + {Uri::pretty(&href)} @@ -161,22 +161,20 @@ pub fn Object(object: crate::Object) -> impl IntoView { }.into_view(), // lemmy with Page, peertube with Video Ok(apb::ObjectType::Document(t)) => view! { -
- {object.name().unwrap_or_default().to_string()} -
+
+
+ {object.name().unwrap_or_default().to_string()} +
{post_inner} - - - -
+ }.into_view(), // wordpress, ... ? Ok(apb::ObjectType::Article) => view! { -
+

{object.name().unwrap_or_default().to_string()}


{post_inner} -
+ }.into_view(), // everything else Ok(t) => view! {