changeset 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 3eec00136867
children caab77328b1c
files default/base/base.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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>