Mercurial > libervia-templates
view sat_templates/templates/default/input/navigation.html @ 209:d586ea13cfed
blog: fixed setting of title:
title was not show when embedded was True, but this is always the case (articles.html
template is always shown in base.html). A new "blog_page" boolean is set when
articles.html is the main page displayed (i.e. blog posts are not embedded in an other
page like events), and use to display the title, fixing the originally intented behaviour.
fix 298
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 14 Jun 2019 12:49:04 +0200 |
parents | 4a03d0a6839b |
children |
line wrap: on
line source
{% macro prev_next(prev_label=_("newer"), next_label=_("older")) %} <nav class="prev_next box box--large box--zero"> <ul class="list list--inline"> {% if previous_page_url is defined %} <li class="prev_next__previous"> <a href="{{previous_page_url}}"> {{ icon('angle-double-left', cls='icon--text') }} {{prev_label}} </a> </li> {% endif %} {% if next_page_url is defined %} <li class="prev_next__next"> <a href="{{next_page_url}}"> {{next_label}} {{ icon('angle-double-right', cls='icon--text') }} </a> </li> {% endif %} </ul> </nav> {% endmacro %}