# HG changeset patch # User Goffi # Date 1493247916 -7200 # Node ID 7a1626e78d5368683722e1d06f03aaad9937b1eb # Parent 7353e5c54359fb0bf288b7c18048625080daef80 base: an embedded variable is set when base is used, this way we can have include templates without including the whole page with base diff -r 7353e5c54359 -r 7a1626e78d53 default/base/base.html --- a/default/base/base.html Mon Apr 17 20:46:11 2017 +0200 +++ b/default/base/base.html Thu Apr 27 01:05:16 2017 +0200 @@ -1,3 +1,4 @@ +{% set embedded = True %} {# embedded is set to avoid including base.html several times if a generic page is included (e.g. blog/articles.html) #}