diff --git a/templates/page.tmpl b/templates/page.tmpl
index 1cbbe78..0656e4a 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -105,6 +105,6 @@
             </p>
         </div>
       </footer>
-      <script src="bootstrap.js"></script>
+      <script src="<TMPL_VAR BASEURL>bootstrap.js"></script>
   </body>
 </html>