annotate templates/default/news/news.html @ 31:e3bf606a5519

roadmap: add "Oxidation"
author Goffi <goffi@goffi.org>
date Mon, 14 Aug 2023 17:12:54 +0200
parents 87262027cbf5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
09d66acc7c73 initial commit, website first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %}
09d66acc7c73 initial commit, website first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'blog/macros.html' as blog with context %}
11
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
3 {% import 'input/navigation.html' as navigation with context %}
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
4 {% import 'input/textbox.html' as textbox with context %}
0
09d66acc7c73 initial commit, website first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
5
09d66acc7c73 initial commit, website first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 {% block body %}
8
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
7 <h1 class="title has-text-centered">{% trans %}Libervia News{% endtrans %}</h1>
11
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
8 {% if blog_items['items'] %}
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
9 <div class="container mt-4">
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
10 <nav class="level mb-4">
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
11 <div class="level-left">
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
12 </div>
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
13 <div class="level-right">
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
14 <div class="level-item">
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
15 {{ textbox.search() }}
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
16 </div>
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
17 </div>
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
18 </nav>
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
19 <div id="blog_items" class="columns">
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
20 <div class="column">
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
21 {{ blog.show_items(blog_items['items'], expanded=single) }}
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
22 </div>
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
23 </div>
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
24 </div>
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
25 {% else %}
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
26 <div class="message mt-4">
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
27 <div class="message-body">
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
28 {% trans %}No articles found in this blog!{% endtrans %}
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
29 </div>
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
30 </div>
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
31 {% endif %}
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
32
87262027cbf5 news: use pagination and search box as in Libervia Web's blog
Goffi <goffi@goffi.org>
parents: 8
diff changeset
33 {{ navigation.prev_next(_("newer articles"), _("older articles")) }}
0
09d66acc7c73 initial commit, website first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
34 {% endblock body %}