Make post metadata look nicer

This commit is contained in:
Bat 2018-05-19 08:53:51 +01:00
parent 73512a4fdc
commit 14bf3f00aa
2 changed files with 7 additions and 7 deletions

View File

@ -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::{

View File

@ -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>
&mdash;
<span>{{ date | date(format="%B %e, %Y") }}</span>
</p>
<h1>{{ post.title }}</h1>
<article>
{{ post.content | safe }}