diff --git a/web/views/templates/base b/web/views/templates/base index 7556ca5..2257805 100644 --- a/web/views/templates/base +++ b/web/views/templates/base @@ -2,15 +2,15 @@ List of block elements in this page: page_title + scripts + global_scripts + page_scripts navbar_title navbar_content sidebar sidebar_content body body_content - scripts - global_scripts - page_scripts {% endcomment %} @@ -27,6 +27,27 @@ List of block elements in this page: padding-top: 60px; /* Make sure that there is a gap on the navbar. */ } + + {# General scripts #} + {% block scripts %} + + + + + {% block global_scripts %} + + {% endblock %} + + + + {% endblock %}{# endblock scripts #} +
@@ -75,24 +96,5 @@ List of block elements in this page: - {# General scripts #} - {% block scripts %} - - - - - {% block global_scripts %} - - {% endblock %} - - - {% endblock %}{# endblock scripts #} -