Make post metadata look nicer
This commit is contained in:
parent
73512a4fdc
commit
14bf3f00aa
|
@ -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::{
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
{% endblock header %}
|
||||
|
||||
{% block content %}
|
||||
<h1><a href="/@/{{ author.fqn }}/">{{ author.display_name }}</a></h1>
|
||||
<div>
|
||||
{{ date | date(format="%B %e, %Y") }}
|
||||
</div>
|
||||
<br/>
|
||||
<p>
|
||||
<b>Written by <a href="/@/{{ author.fqn }}/">{{ author.display_name }}</a></b>
|
||||
—
|
||||
<span>{{ date | date(format="%B %e, %Y") }}</span>
|
||||
</p>
|
||||
<h1>{{ post.title }}</h1>
|
||||
<article>
|
||||
{{ post.content | safe }}
|
||||
|
|
Loading…
Reference in New Issue