Mercurial > libervia-templates
changeset 9:7a1626e78d53
base: an embedded variable is set when base is used, this way we can have include templates without including the whole page with base
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 27 Apr 2017 01:05:16 +0200 |
parents | 7353e5c54359 |
children | 8b5615a1bf3d |
files | default/base/base.html |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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) #} <!DOCTYPE html> <html> <head>