aboutsummaryrefslogtreecommitdiff
path: root/_includes/head.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/head.html')
-rw-r--r--_includes/head.html15
1 files changed, 5 insertions, 10 deletions
diff --git a/_includes/head.html b/_includes/head.html
index 0dc3028..9bedb01 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -1,21 +1,16 @@
+{% include relBase.html %}
<head>
<meta charset="utf-8">
<title>Noah Loomans</title>
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="/style/main.css">
+ <link rel="stylesheet" href="{{relBase}}style/main.css">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
- <script>
- var host = "noahloomans.com";
- if ((host == window.location.host) && (window.location.protocol != 'https:')) {
- window.location = window.location.toString().replace(/^http:/, "https:");
- }
- </script>
<!-- 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">
{% if page.info %}
<meta name="og:title" content="{{ page.info.title }}" />