]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/templates/phyll/note_detail.html
add note title in page <title>
[chloro.git] / chloro / phyll / templates / phyll / note_detail.html
index f9d1b0101a60dacc909f22bb12c5a043c024c3f9..240929be09603a8ab27fc792929111c373689a40 100644 (file)
@@ -1,9 +1,16 @@
 {% extends "phyll/base.html" %}
 {% load i18n %}
 
+{% block content-class %}post{% endblock %}
+{% block page-title %}{{ object.title }} - {{ block.super }}{% endblock %}
+
 {% block body %}
-<h1>{{ object.title }}</h1>
+<div>
+<h2>{{ object.title }}</h2>
 <div>{{ object.text|safe }}</div>
+
+<div class="meta">{{ object.creation_timestamp|date:"j E Y, H:i"|lower }}</div>
+</div>
 {% endblock %}
 
 {% block bottom-actions %}