Mercurial > libervia-templates
diff 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 |
line wrap: on
line diff
--- a/default/base/base.html Sat Dec 23 15:53:02 2017 +0100 +++ b/default/base/base.html Sat Dec 23 21:37:08 2017 +0100 @@ -1,6 +1,6 @@ {% set embedded = True %} {# embedded is set to avoid including base.html several times if a generic page is included (e.g. blog/articles.html) #} {% import 'components/common.html' as component with context %} -{{ script.include('css') }} {# css.js is a common script, so it's useful to import it here #} +{{ script.include('common') }} {# common.js has many useful functions, so we import it here #} <!DOCTYPE html> <html> <head>