]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/templates/phyll/note_detail.html
use <article> elements, so reader mode is made available in firefox
[chloro.git] / chloro / phyll / templates / phyll / note_detail.html
index 06966f499fb48560ca9996b06976e8470e5ac8c4..493da391b4bf36a626089dd4819cf63814bb7f8e 100644 (file)
@@ -5,7 +5,7 @@
 {% block page-title %}{{ object.title }} - {{ block.super }}{% endblock %}
 
 {% block body %}
-<div>
+<article>
 <h2>{{ object.title }}</h2>
 <div {% if request.user.is_staff %}contenteditable="true"{% endif %}>{{ object.text|safe }}</div>
 {% if request.user.is_staff %}
@@ -13,7 +13,7 @@
 {% endif %}
 
 <div class="meta">{{ object.creation_timestamp|date:"j E Y, H:i"|lower }}</div>
-</div>
+</article>
 {% endblock %}
 
 {% block bottom-actions %}