diff --git a/src/routes/user.rs b/src/routes/user.rs index 4c7854d7..807168a8 100644 --- a/src/routes/user.rs +++ b/src/routes/user.rs @@ -8,8 +8,8 @@ use serde_json; use activity_pub::{ activity_pub, ActivityPub, ActivityStream, context, broadcast, Id, IntoId, - actor::Actor, - object::Object + inbox::Inbox, + actor::Actor }; use db_conn::DbConn; use models::{ diff --git a/templates/posts/details.tera b/templates/posts/details.tera index 22ca2c24..eeacafb9 100644 --- a/templates/posts/details.tera +++ b/templates/posts/details.tera @@ -9,11 +9,11 @@ {% endblock header %} {% block content %} -

{{ author.display_name }}

-
- {{ date | date(format="%B %e, %Y") }} -
-
+

+ Written by {{ author.display_name }} + — + {{ date | date(format="%B %e, %Y") }} +

{{ post.title }}

{{ post.content | safe }}