Bläddra i källkod

move theme.js to static/ and include it in base.html

Son NK 5 år sedan
förälder
incheckning
c9b75c338e
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. 0 0
      static/js/theme.js
  2. 2 1
      templates/base.html

+ 0 - 0
static/assets/js/theme.js → static/js/theme.js


+ 2 - 1
templates/base.html

@@ -170,7 +170,8 @@
 
 
 </script>
 </script>
 
 
-<script src="/static/local-storage-polyfill.js"></script>
+<script src="{{ url_for('static', filename='local-storage-polyfill.js.js') }}"></script>
+<script src="{{ url_for('static', filename='js/theme.js') }}"></script>
 
 
 <!-- For additional script -->
 <!-- For additional script -->
 {% block script %}
 {% block script %}