Add pagescript block to jinja base template
authorMagnus Hagander <magnus@hagander.net>
Sun, 18 Nov 2018 14:39:07 +0000 (15:39 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 18 Nov 2018 14:39:07 +0000 (15:39 +0100)
This was done for non-jinja templates in
79bbc8a93b3e6b2a17bca353067dc46f553d09e3, but is needed here as well to
work for potentially styled conference pages.

template.jinja/base.html

index 37cce803b9d6fc4f46e41314ba5f57ed550d94e9..7450c2074485b7155f5ce19ab302f6df13968b97 100644 (file)
@@ -56,5 +56,6 @@
 
     <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
     <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
+{%block pagescript%}{%endblock%}
   </body>
 </html>