diff templates/default/news/news.html @ 0:09d66acc7c73

initial commit, website first draft: - presentation page - documentation (generated from backend and Libervia) - social contract (HTML generated from sat repository) - press/conferences (adapted from former website) - association page (adpated from former website) - news (a selected blog is displayed) - fr i18n
author Goffi <goffi@goffi.org>
date Sun, 26 May 2019 22:26:30 +0200
parents
children dc880664a8ec
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/default/news/news.html	Sun May 26 22:26:30 2019 +0200
@@ -0,0 +1,9 @@
+{% if not embedded %}{% extends 'base/base.html' %}{% endif %}
+{% import 'blog/macros.html' as blog with context %}
+
+{% block body %}
+<h1 class="page__title">{% trans %}Salut à Toi News{% endtrans %}</h1>
+<div id="blog_items">
+    {{ blog.show_items(items) }}
+</div>
+{% endblock body %}