From 5071827d71f4d54923d5adfdef2a45d8bf44a0ba Mon Sep 17 00:00:00 2001 From: Matthew Wozniak Date: Tue, 25 Jun 2024 14:49:22 -0400 Subject: initial commit --- .gitignore | 1 + build.sh | 11 +++++++++++ index.md | 11 +++++++++++ static/style.css | 34 ++++++++++++++++++++++++++++++++++ template/footer.html | 4 ++++ template/header.html | 7 +++++++ 6 files changed, 68 insertions(+) create mode 100644 .gitignore create mode 100644 build.sh create mode 100644 index.md create mode 100644 static/style.css create mode 100644 template/footer.html create mode 100644 template/header.html 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 @@ +
+ 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 @@ + -- cgit v1.2.3-54-g00ecf