Fix script location and run handle

This commit is contained in:
Jake Howard 2017-05-03 14:10:11 +01:00
parent c0f94ed22d
commit d56d8a2f1e
4 changed files with 9 additions and 8 deletions

View file

@ -21,4 +21,5 @@ function subst() {
}
}
window.subst = subst();
subst();

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="../static/style.css" />
</head>
<body class="cover">
<h1>{{ title }}</h1>

View file

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css" />
<script type="text/javascript" src="context.js"></script>
<link rel="stylesheet" href="../static/style.css" />
</head>
<body onload="subst()" class="footer">
<body class="footer">
<table style="width: 100%;">
<tr>
<td style="text-align: center">
@ -12,5 +11,6 @@
</td>
</tr>
</table>
<script type="text/javascript" src="../static/context.js"></script>
</body>
</html>

View file

@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css" />
<script type="text/javascript" src="context.js"></script>
<link rel="stylesheet" href="../static/style.css" />
</head>
<body onload="subst()" class="header">
<body class="header">
<script type="text/javascript" src="../static/context.js"></script>
</body>
</html>