summaryrefslogtreecommitdiff
path: root/_templates
diff options
context:
space:
mode:
authorJJ2024-07-22 04:42:42 +0000
committerJJ2024-07-22 20:21:58 +0000
commit3c11f6cca5b73e188289ada66e7924b4b33e4f59 (patch)
tree2c410c7856d30985dfabf4319dcc6385a6872d1a /_templates
parent2a99a0556e17771181eb31b1c9f6fb6ed335158f (diff)
replace jekyll with hakyll
Diffstat (limited to '_templates')
-rw-r--r--_templates/default.html13
-rw-r--r--_templates/footer.html3
-rw-r--r--_templates/header.html13
-rw-r--r--_templates/main.html16
-rw-r--r--_templates/post.html17
5 files changed, 62 insertions, 0 deletions
diff --git a/_templates/default.html b/_templates/default.html
new file mode 100644
index 0000000..24da983
--- /dev/null
+++ b/_templates/default.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+ <link rel="icon" type="image/jpg" href="/assets/light.png"/>
+ <link rel="stylesheet" href="/css/style.css"/>
+ <title> $title$ </title>
+</head>
+<body>
+$body$
+</body>
+</html>
diff --git a/_templates/footer.html b/_templates/footer.html
new file mode 100644
index 0000000..93b3dd7
--- /dev/null
+++ b/_templates/footer.html
@@ -0,0 +1,3 @@
+<footer>
+ <span><img src="/assets/copyleft.svg" width="12" height="12" title="https://en.wikipedia.org/wiki/Criticism_of_copyright" /> 2020-2024 </span>
+</footer>
diff --git a/_templates/header.html b/_templates/header.html
new file mode 100644
index 0000000..bfd4deb
--- /dev/null
+++ b/_templates/header.html
@@ -0,0 +1,13 @@
+<header>
+ <h1>
+ <a href="/">apropos</a>
+ </h1>
+ <nav>
+ <a href="/about">about</a>
+ <a href="/resume">resume</a>
+ <a href="/notes">notes</a>
+ <a href="/posts">posts</a>
+ <a href="/writeups">writeups</a>
+ <a href="https://wiki.toki.la">wiki</a>
+ </nav>
+</header>
diff --git a/_templates/main.html b/_templates/main.html
new file mode 100644
index 0000000..093c7da
--- /dev/null
+++ b/_templates/main.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+ <link rel="icon" type="image/jpg" href="/assets/light.png"/>
+ <link rel="stylesheet" href="/css/style.css"/>
+ <title> $title$ </title>
+</head>
+<body>
+$partial("_templates/header.html")$
+<main>
+$body$
+</main>
+</body>
+</html>
diff --git a/_templates/post.html b/_templates/post.html
new file mode 100644
index 0000000..fca6aed
--- /dev/null
+++ b/_templates/post.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+ <link rel="icon" type="image/jpg" href="/assets/light.png"/>
+ <link rel="stylesheet" href="/css/style.css"/>
+ <link rel="stylesheet" href="/writeups/css/style.css"/>
+ <title> $title$ </title>
+</head>
+<body>
+$partial("_templates/header.html")$
+<main>
+$body$
+</main>
+</body>
+</html>