summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/templates/includes/frontpage/news')
-rw-r--r--python/templates/includes/frontpage/news13
1 files changed, 10 insertions, 3 deletions
diff --git a/python/templates/includes/frontpage/news b/python/templates/includes/frontpage/news
index 27d9dc4..1f1a7d3 100644
--- a/python/templates/includes/frontpage/news
+++ b/python/templates/includes/frontpage/news
@@ -1,6 +1,13 @@
{% for post in posts %}
<article>
- <h2><a href="{{ post.url }}">{{ post.title }}</a> <small>({{ post.TimeStamp }})</small></h2>
- {{ post.text|safe|escape }}
+<h2 class="stick-top newsitem-bullet">
+ <span class="fa fa-fw fa-chevron-circle-right" title="News item"> </span>
+ </h2>
+ <h2 class="stick-top newsitem-headline">
+ <a href="{{ post.url }}">{{ post.title }}</a> <small>{{ post.created_at }}</small>
+ </h2>
+ <div class="newsitem-content">
+ <p>{{ post.text|safe|escape }}</p>
+ </div>
</article>
-{% endfor %} \ No newline at end of file
+{% endfor %}