Mercurial > libervia-templates
view sat_templates/templates/bulma/forum/view.html @ 289:f1a39607d6a5
bulma (base/base.html): `full_screen_body` parameter + body_wrapper:
- if `full_screen_body` is set in template, the `body--fullscreen` class will be added to
`<body>` element. It will then be a flexbox container (in columns), and displayed on the whole viewport.
- new `body_wrapper` block, if a page needs to replace the `#body` container.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 28 Sep 2020 17:25:26 +0200 |
parents | 40fccd3b7cf0 |
children | bfb0d5829728 |
line wrap: on
line source
{% if not embedded %}{% extends 'base/base.html' %}{% endif %} {% set dates_format='relative' if single else 'short' %} {% import 'components/avatar.html' as avatar with context %} {% import 'blog/macros.html' as blog with context %} {% import 'input/textbox.html' as textbox with context %} {% import 'input/navigation.html' as navigation with context %} {% block body %} <section class="section"> {{ blog.show_items(blog_items["items"], expanded=true) }} </section> <section class="section"> {{- textbox.comment_or_login(service=service, node=node, placeholder=_("Enter your message here")) -}} </section> {{ navigation.prev_next(_("newer articles"), _("older articles")) }} {% endblock body %}