comparison 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
comparison
equal deleted inserted replaced
8:7353e5c54359 9:7a1626e78d53
1 {% set embedded = True %} {# embedded is set to avoid including base.html several times if a generic page is included (e.g. blog/articles.html) #}
1 <!DOCTYPE html> 2 <!DOCTYPE html>
2 <html> 3 <html>
3 <head> 4 <head>
4 <meta charset="utf-8" /> 5 <meta charset="utf-8" />
5 <title>{% block title %}{{C.APP_NAME}}{% endblock %}</title> 6 <title>{% block title %}{{C.APP_NAME}}{% endblock %}</title>