summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/404.html7
-rw-r--r--templates/base.html22
-rw-r--r--templates/base_empty.html3
-rw-r--r--templates/guestbook.html3
-rw-r--r--templates/home.html3
5 files changed, 36 insertions, 2 deletions
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..35b43bb
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,7 @@
+{{ define "content" }}
+<h1>page not found</h1>
+<p><em>but hey, at least you found our witty 404 page. that's something, right?</em></p>
+
+<p><a href="/">go back home</a></p>
+
+{{ end }} \ No newline at end of file
diff --git a/templates/base.html b/templates/base.html
index d855b51..fcd978e 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -6,14 +6,32 @@
<title>hatecomputers.club</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
+ <link rel="icon" href="/static/img/favicon.svg">
<link rel="stylesheet" type="text/css" href="/static/css/styles.css">
+
+ <meta property="og:type" content="website">
+ <meta property="og:url" content="https://hatecomputers.club">
+ <meta property="og:title" content="hatecomputers.club">
+ <meta property="og:description" content="be decent at computer but hate. really bad for human.">
+ <meta property="og:image:secure_url" content="https://tunnel.simponic.xyz/static/img/favicon.svg">
+ <meta property="og:image:secure" content="https://tunnel.simponic.xyz/static/img/favicon.svg">
+ <script src="/static/js/util/setThemeBeforeRender.js"></script>
</head>
<body>
<div id="content" class="container">
- {{ template "content" . }}
+ <div class="header">
+ <h1>hatecomputers.club</h1>
+ <a href="javascript:void(0);" id="theme-switcher"></a>
+ </div>
+ <hr>
+
+ <div id="content">
+ {{ template "content" . }}
+ </div>
+ <p class="blinky">hi</p>
</div>
- <script src="/static/js/script.js"></script>
+ <script data-main="/static/js/script.js" src="/static/js/require.js"></script>
</body>
</html>
diff --git a/templates/base_empty.html b/templates/base_empty.html
new file mode 100644
index 0000000..6191ab9
--- /dev/null
+++ b/templates/base_empty.html
@@ -0,0 +1,3 @@
+{{ define "base" }}
+ {{ template "content" . }}
+{{ end }} \ No newline at end of file
diff --git a/templates/guestbook.html b/templates/guestbook.html
new file mode 100644
index 0000000..859daaf
--- /dev/null
+++ b/templates/guestbook.html
@@ -0,0 +1,3 @@
+{{ define "content" }}
+ <h1>guestbook</h1>
+{{ end }}
diff --git a/templates/home.html b/templates/home.html
new file mode 100644
index 0000000..1938a03
--- /dev/null
+++ b/templates/home.html
@@ -0,0 +1,3 @@
+{{ define "content" }}
+
+{{ end }} \ No newline at end of file