aboutsummaryrefslogtreecommitdiffstats
path: root/templates/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/head.html')
-rw-r--r--templates/head.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/head.html b/templates/head.html
index 3c611ed..fd0afe4 100644
--- a/templates/head.html
+++ b/templates/head.html
@@ -6,7 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/static/style.css" type="text/css">
<link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css">
- <script src="/static/main.js" defer></script>
+ {% for js in page.styles() %}
+ <script src="/static/{{ js }}.js" defer></script>
+ {% endfor %}
</head>
<body>
<div class="flex">