diff default/base/base.html @ 82:6ba0129a9a4e

base: don't use default flag for common script (flags now default to "defer" following last changes in backend)
author Goffi <goffi@goffi.org>
date Wed, 03 Jan 2018 01:12:16 +0100
parents d1741c2f3e9d
children b2ef34e602cf
line wrap: on
line diff
--- a/default/base/base.html	Wed Jan 03 01:12:15 2018 +0100
+++ b/default/base/base.html	Wed Jan 03 01:12:16 2018 +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('common') }} {# common.js has many useful functions, so we import it here #}
+{{ script.include('common', '') }} {# common.js is a common script, so it's useful to import it here #}
 <!DOCTYPE html>
 <html>
 <head>