diff default/blog/item.html @ 0:9a31d2c02f47

SàT templates, initial commit
author Goffi <goffi@goffi.org>
date Tue, 21 Feb 2017 20:31:01 +0100
parents
children 8cdcbe0d7dee
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/default/blog/item.html	Tue Feb 21 20:31:01 2017 +0100
@@ -0,0 +1,15 @@
+{% block item %}
+<article>
+    <header>
+        {% block header %}
+        <div class="title">{% block blog_title %}{{ item.title_xhtml or item.title or '' }}{% endblock %}</div>
+        {% endblock header %}
+    </header>
+
+    <div class="content">
+        {% block content %}
+        {{ item.content_xhtml or item.content or ''}}
+        {% endblock content %}
+    </div>
+</article>
+{% endblock item %}