aboutsummaryrefslogtreecommitdiff
path: root/18
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-02-27 12:51:53 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-02-27 12:51:53 +0100
commit1d000946313c5758b2935ed8cc9a64858172ff74 (patch)
treec403157570c20b0c1f27d8c4eba8568d1d7ced01 /18
parenta3b0f7cf267f5bebcc581a9a0a06ef8616cab9c4 (diff)
Use relative urls
Diffstat (limited to '18')
-rw-r--r--18/index.html17
1 files changed, 6 insertions, 11 deletions
diff --git a/18/index.html b/18/index.html
index e570825..3289b6a 100644
--- a/18/index.html
+++ b/18/index.html
@@ -1,4 +1,5 @@
<!DOCTYPE html>
+{% include relBase.html %}
<html lang="nl">
<head>
<meta charset="UTF-8">
@@ -7,18 +8,12 @@
<link rel="stylesheet" href="https://opensource.keycdn.com/fontawesome/4.7.0/font-awesome.min.css" integrity="sha384-dNpIIXE8U05kAbPhy3G1cz+yZmTzA6CY8Vg/u2L9xRnHjJiAK76m2BIEaSEV+/aU"
crossorigin="anonymous">
<title>18.</title>
- <link rel="stylesheet" href="/style/18.css">
- <script>
- var host = "noahloomans.com";
- if ((host == window.location.host) && (window.location.protocol != 'https:')) {
- window.location = window.location.toString().replace(/^http:/, "https:");
- }
- </script>
+ <link rel="stylesheet" href="{{ relBase }}style/18.css">
<!-- sigh... favicon -->
- <link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon.png">
- <link rel="icon" type="image/png" href="/assets/icons/favicon-32x32.png" sizes="32x32">
- <link rel="icon" type="image/png" href="/assets/icons/favicon-16x16.png" sizes="16x16">
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ relBase }}assets/icons/apple-touch-icon.png">
+ <link rel="icon" type="image/png" href="{{ relBase }}assets/icons/favicon-32x32.png" sizes="32x32">
+ <link rel="icon" type="image/png" href="{{ relBase }}assets/icons/favicon-16x16.png" sizes="16x16">
</head>
<body>
<div class="wrapper">
@@ -68,6 +63,6 @@
<p>Noah.</p>
</div>
</div>
- <script src="/18/script.js"></script>
+ <script src="{{ relBase }}18/script.js"></script>
</body>
</html>