[lego/master] Add a header_description block to the header template

commit 0da4637ee0b51f26cd8e5ac6ecbe57b5bb8e4da3 Author: kez <kez@torproject.org> Date: Fri Jul 2 14:58:00 2021 -0400 Add a header_description block to the header template This makes it easier to write flexible templates for contents.lr files written in markdown --- templates/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/header.html b/templates/header.html index ce9bb9b..24fdbc3 100644 --- a/templates/header.html +++ b/templates/header.html @@ -38,7 +38,7 @@ {% else %} <div class="row header-description"> {% endif %} - {{ this.header_description }} + {% block header_description %}{{ this.header_description }}{% endblock %} </div> </div> {% endif %}
participants (1)
-
gus@torproject.org