Make post metadata look nicer
This commit is contained in:
parent
73512a4fdc
commit
14bf3f00aa
@ -8,8 +8,8 @@ use serde_json;
|
|||||||
|
|
||||||
use activity_pub::{
|
use activity_pub::{
|
||||||
activity_pub, ActivityPub, ActivityStream, context, broadcast, Id, IntoId,
|
activity_pub, ActivityPub, ActivityStream, context, broadcast, Id, IntoId,
|
||||||
actor::Actor,
|
inbox::Inbox,
|
||||||
object::Object
|
actor::Actor
|
||||||
};
|
};
|
||||||
use db_conn::DbConn;
|
use db_conn::DbConn;
|
||||||
use models::{
|
use models::{
|
||||||
|
@ -9,11 +9,11 @@
|
|||||||
{% endblock header %}
|
{% endblock header %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1><a href="/@/{{ author.fqn }}/">{{ author.display_name }}</a></h1>
|
<p>
|
||||||
<div>
|
<b>Written by <a href="/@/{{ author.fqn }}/">{{ author.display_name }}</a></b>
|
||||||
{{ date | date(format="%B %e, %Y") }}
|
—
|
||||||
</div>
|
<span>{{ date | date(format="%B %e, %Y") }}</span>
|
||||||
<br/>
|
</p>
|
||||||
<h1>{{ post.title }}</h1>
|
<h1>{{ post.title }}</h1>
|
||||||
<article>
|
<article>
|
||||||
{{ post.content | safe }}
|
{{ post.content | safe }}
|
||||||
|
Loading…
Reference in New Issue
Block a user