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

View File

@ -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") }} &mdash;
</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 }}