diff default/base/base.html @ 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 b13a26d55c64
children 422c54e0204a
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>