diff options
-rwxr-xr-x | build.sh | 22 | ||||
-rw-r--r-- | index.md | 22 | ||||
-rw-r--r-- | static/style.css | 68 | ||||
-rw-r--r-- | template/footer.html | 8 | ||||
-rw-r--r-- | template/header.html | 14 |
5 files changed, 67 insertions, 67 deletions
@@ -1,11 +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
+#!/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 @@ -1,11 +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).
+--- +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 index 14cd656..44892d1 100644 --- a/static/style.css +++ b/static/style.css @@ -1,34 +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;
-}
+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 index 87f8a75..6e14fbe 100644 --- a/template/footer.html +++ b/template/footer.html @@ -1,4 +1,4 @@ -<hr>
-<footer>© 2024 Matthew Wozniak. This site is generated with
- <a href="https://pandoc.org">pandoc</a>.
-</footer>
+<hr> +<footer>© 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 index 62c80bb..5782656 100644 --- a/template/header.html +++ b/template/header.html @@ -1,7 +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>
+<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> |