Mercurial > libervia-templates
comparison default/base/base.html @ 78:d1741c2f3e9d
js(common): renamed css.js to common.js has it will have generic functions not only for css manipulation.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 23 Dec 2017 21:37:08 +0100 |
parents | 9471c7309ecc |
children | 6ba0129a9a4e |
comparison
equal
deleted
inserted
replaced
77:304a72392191 | 78:d1741c2f3e9d |
---|---|
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 {% set embedded = True %} {# embedded is set to avoid including base.html several times if a generic page is included (e.g. blog/articles.html) #} |
2 {% import 'components/common.html' as component with context %} | 2 {% import 'components/common.html' as component with context %} |
3 {{ script.include('css') }} {# css.js is a common script, so it's useful to import it here #} | 3 {{ script.include('common') }} {# common.js has many useful functions, so we import it here #} |
4 <!DOCTYPE html> | 4 <!DOCTYPE html> |
5 <html> | 5 <html> |
6 <head> | 6 <head> |
7 <meta charset="utf-8"> | 7 <meta charset="utf-8"> |
8 <meta name="viewport" content="width=device-width, initial-scale=1"> | 8 <meta name="viewport" content="width=device-width, initial-scale=1"> |