about summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/404.html7
-rw-r--r--templates/count.html6
-rw-r--r--templates/dev.html8
-rw-r--r--templates/homepage.html8
-rw-r--r--templates/list.html8
-rw-r--r--templates/post.html8
-rw-r--r--templates/tags.html8
7 files changed, 38 insertions, 15 deletions
diff --git a/templates/404.html b/templates/404.html
index 4e64fcc..eade0f9 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -28,10 +28,11 @@
       <h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2>
     </main>
     <footer>
-      Licensed under a
+      Content is
       <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
-        >Creative Commons Attribution 4.0 International License</a
-      >.
+        >CC BY 4.0</a
+      >. <a href="https://git.alanpearce.eu/website/">Site source code</a> is
+      <a href="https://opensource.org/licenses/MIT">MIT</a>
     </footer>
   </body>
 </html>
diff --git a/templates/count.html b/templates/count.html
new file mode 100644
index 0000000..737b99d
--- /dev/null
+++ b/templates/count.html
@@ -0,0 +1,6 @@
+<body>
+  <script data-goatcounter="https://alanpearce-eu.goatcounter.com/count" async src="https://gc.zgo.at/count.js"></script>
+  <noscript>
+    <img src="https://alanpearce-eu.goatcounter.com/count?p=/INSERT-PAGE-HERE" />
+  </noscript>
+</body>
diff --git a/templates/dev.html b/templates/dev.html
new file mode 100644
index 0000000..0ca383e
--- /dev/null
+++ b/templates/dev.html
@@ -0,0 +1,8 @@
+<body>
+  <script defer>
+    new EventSource("/_/reload").onmessage = event => {
+      console.log("got message", event)
+      window.location.reload()
+    };
+  </script>
+</body>
diff --git a/templates/homepage.html b/templates/homepage.html
index 63d3fbf..d256e8c 100644
--- a/templates/homepage.html
+++ b/templates/homepage.html
@@ -11,6 +11,7 @@
       title=""
       href="/atom.xml"
     />
+    <link href="" rel="canonical" />
     <style></style>
   </head>
   <body>
@@ -53,10 +54,11 @@
       </section>
     </main>
     <footer>
-      Licensed under a
+      Content is
       <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
-        >Creative Commons Attribution 4.0 International License</a
-      >.
+        >CC BY 4.0</a
+      >. <a href="https://git.alanpearce.eu/website/">Site source code</a> is
+      <a href="https://opensource.org/licenses/MIT">MIT</a>
     </footer>
   </body>
 </html>
diff --git a/templates/list.html b/templates/list.html
index 086e139..74d6576 100644
--- a/templates/list.html
+++ b/templates/list.html
@@ -11,6 +11,7 @@
       title="Site Title"
       href="/atom.xml"
     />
+    <link href="" rel="canonical" />
     <style></style>
   </head>
   <body>
@@ -42,10 +43,11 @@
       </ul>
     </main>
     <footer>
-      Licensed under a
+      Content is
       <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
-        >Creative Commons Attribution 4.0 International License</a
-      >.
+        >CC BY 4.0</a
+      >. <a href="https://git.alanpearce.eu/website/">Site source code</a> is
+      <a href="https://opensource.org/licenses/MIT">MIT</a>
     </footer>
   </body>
 </html>
diff --git a/templates/post.html b/templates/post.html
index d93b766..7574a1f 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -11,6 +11,7 @@
       title=""
       href="/atom.xml"
     />
+    <link href="" rel="canonical" />
     <style></style>
   </head>
   <body>
@@ -68,10 +69,11 @@ foo=bar
       </article>
     </main>
     <footer>
-      Licensed under a
+      Content is
       <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
-        >Creative Commons Attribution 4.0 International License</a
-      >.
+        >CC BY 4.0</a
+      >. <a href="https://git.alanpearce.eu/website/">Site source code</a> is
+      <a href="https://opensource.org/licenses/MIT">MIT</a>
     </footer>
   </body>
 </html>
diff --git a/templates/tags.html b/templates/tags.html
index 406f8d7..79c1c09 100644
--- a/templates/tags.html
+++ b/templates/tags.html
@@ -11,6 +11,7 @@
       title="Site title"
       href="/atom.xml"
     />
+    <link href="" rel="canonical" />
     <style></style>
   </head>
   <body>
@@ -32,10 +33,11 @@
       </ul>
     </main>
     <footer>
-      Licensed under a
+      Content is
       <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
-        >Creative Commons Attribution 4.0 International License</a
-      >.
+        >CC BY 4.0</a
+      >. <a href="https://git.alanpearce.eu/website/">Site source code</a> is
+      <a href="https://opensource.org/licenses/MIT">MIT</a>
     </footer>
   </body>
 </html>