summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--build.sh11
-rw-r--r--index.md11
-rw-r--r--static/style.css34
-rw-r--r--template/footer.html4
-rw-r--r--template/header.html7
6 files changed, 68 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..52f673c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+out/
diff --git a/build.sh b/build.sh
new file mode 100644
index 0000000..7172758
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+shopt -s globstar
+
+cp -r static/* out
+
+for i in **/*.md; do
+ mkdir -p "out/$(dirname $i)"
+ pandoc -s --katex -s -c style.css -B template/header.html \
+ -A template/footer.html "$i" -o "out/${i%.*}.html"
+done
diff --git a/index.md b/index.md
new file mode 100644
index 0000000..00068f8
--- /dev/null
+++ b/index.md
@@ -0,0 +1,11 @@
+---
+title: Home
+---
+
+Hi, I'm Matthew Wozniak. I'm interested in graphics programming, firmware
+engineering, and OS design.
+
+In my spare time, I've contributed to some tools for Source Engine games, most
+notably [SST](https://mikes.software/sst).
+
+I can be contacted by email at [me@woz.blue](mailto:me@woz.blue).
diff --git a/static/style.css b/static/style.css
new file mode 100644
index 0000000..14cd656
--- /dev/null
+++ b/static/style.css
@@ -0,0 +1,34 @@
+body {
+ font-family: "Helvetica Neue", Helvetica;
+ font-size: 11.5pt;
+ margin: auto;
+ padding: 1em;
+ padding-stop: 0.25em;
+ max-width: 80ch;
+}
+
+footer {
+ color: #333;
+ font-size: 9pt;
+}
+
+.sourceCode {
+ font-size: 10pt;
+}
+
+.navbar ul {
+ display: inline-flex;
+ flex-wrap: wrap;
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+
+.navbar ul li {
+ display: list-item;
+ padding: 6px;
+}
+
+.navbar ul li:hover {
+ background-color: #eeeeee;
+}
diff --git a/template/footer.html b/template/footer.html
new file mode 100644
index 0000000..87f8a75
--- /dev/null
+++ b/template/footer.html
@@ -0,0 +1,4 @@
+<hr>
+<footer>&copy; 2024 Matthew Wozniak. This site is generated with
+ <a href="https://pandoc.org">pandoc</a>.
+</footer>
diff --git a/template/header.html b/template/header.html
new file mode 100644
index 0000000..62c80bb
--- /dev/null
+++ b/template/header.html
@@ -0,0 +1,7 @@
+<nav class="navbar">
+ <ul class="navbar">
+ <li class="navbar"><a href="https://woz.blue">home</a></li>
+ <li class="navbar"><a href="https://git.woz.blue">git</a></li>
+ <li class="navbar"><a href="https://qdb.woz.blue">qdb</a></li>
+ </ul>
+</nav>