Moved JS extensions to page head
authorThierry Florac <tflorac@ulthar.net>
Sun, 26 Nov 2017 10:00:07 +0100
changeset 5 d42274ef0f0e
parent 4 32120bc361a4
child 6 eab3b98972b2
Moved JS extensions to page head
src/pyams_default_theme/templates/layout.pt
--- a/src/pyams_default_theme/templates/layout.pt	Wed Jun 07 12:46:23 2017 +0200
+++ b/src/pyams_default_theme/templates/layout.pt	Sun Nov 26 10:00:07 2017 +0100
@@ -18,6 +18,10 @@
 
 	<tal:var replace="extension:resources" />
 
+	<!-- Javascript extensions -->
+	<tal:var content="structure provider:pyams.jsextensions" />
+	<!-- end javascript extensions -->
+
 </head>
 <body tal:attributes="class static.body_css_class">
 
@@ -184,9 +188,5 @@
 
 	</div>
 	<!-- end main panel -->
-
-	<!-- Javascript extensions -->
-	<tal:var content="structure provider:pyams.jsextensions" />
-	<!-- end javascript extensions -->
 </body>
 </html>