summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/tamplates/includes/frontpage/news')
-rw-r--r--python/tamplates/includes/frontpage/news6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/tamplates/includes/frontpage/news b/python/tamplates/includes/frontpage/news
new file mode 100644
index 0000000..27d9dc4
--- /dev/null
+++ b/python/tamplates/includes/frontpage/news
@@ -0,0 +1,6 @@
+{% for post in posts %}
+<article>
+ <h2><a href="{{ post.url }}">{{ post.title }}</a> <small>({{ post.TimeStamp }})</small></h2>
+ {{ post.text|safe|escape }}
+</article>
+{% endfor %} \ No newline at end of file