summaryrefslogtreecommitdiff
path: root/source/_includes
diff options
context:
space:
mode:
authorPrefetch2022-10-14 23:25:28 +0200
committerPrefetch2022-10-14 23:25:28 +0200
commit6ce0bb9a8f9fd7d169cbb414a9537d68c5290aae (patch)
treea0abb6b22f77c0e84ed38277d14662412ce14f39 /source/_includes
Initial commit after migration from Hugo
Diffstat (limited to 'source/_includes')
-rw-r--r--source/_includes/footer.html8
-rw-r--r--source/_includes/navigation.html9
-rw-r--r--source/_includes/preamble.html9
3 files changed, 26 insertions, 0 deletions
diff --git a/source/_includes/footer.html b/source/_includes/footer.html
new file mode 100644
index 0000000..8a11b00
--- /dev/null
+++ b/source/_includes/footer.html
@@ -0,0 +1,8 @@
+<hr>
+<div class="footl noha">
+&copy; Marcus R.A. Newman,
+<a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
+</div>
+<div class="footr noha">
+Privacy-friendly statistics by <a href="https://www.goatcounter.com/">GoatCounter</a>.
+</div>
diff --git a/source/_includes/navigation.html b/source/_includes/navigation.html
new file mode 100644
index 0000000..a5c835c
--- /dev/null
+++ b/source/_includes/navigation.html
@@ -0,0 +1,9 @@
+<div class="nav noha">
+<div class="navl"><a href="/">PREFETCH</a></div>
+<div class="navr">
+<a href="/blog/">blog</a>&emsp;
+<a href="/code/">code</a>&emsp;
+<a href="/know/">know</a>
+</div>
+</div>
+<hr>
diff --git a/source/_includes/preamble.html b/source/_includes/preamble.html
new file mode 100644
index 0000000..312f1cf
--- /dev/null
+++ b/source/_includes/preamble.html
@@ -0,0 +1,9 @@
+<meta charset="utf-8">
+{% if page.layout == "blog" or page.syntax %}
+<link rel="stylesheet" href="/infra/css/syntax.css?v=20221008">
+{% endif %}
+{% if page.layout == "concept" or page.maths %}
+<link rel="stylesheet" href="/infra/css/katex.min.css?v=20221008">
+{% endif %}
+<link rel="stylesheet" href="/infra/css/main.css?v=20221001">
+<script data-goatcounter="https://prefetch.goatcounter.com/count" async src="https://gc.zgo.at/count.js"></script>