commit 30ab8f2ef77d93e558ef9f62e67520f35d457361
parent c1b7b57a65a10a61c7ea7bde7a36697ed0c33193
Author: regexghost <dev@regexghost.com>
Date: Sat, 11 Jul 2026 18:10:40 +0100
no longer processes draft files in build.sh, other minor tweaks
Diffstat:
3 files changed, 25 insertions(+), 13 deletions(-)
diff --git a/other/media-watched.md b/other/media-watched.md
@@ -17,7 +17,7 @@ Links provided only when something lives on the internet (so not for TV shows, b
## July 2026
* \c-yellow The Deadliest Weapon of the Ancient World \c-off - NORTH 02 - [link](https://www.youtube.com/watch?v=6sLozwbSlEs)
-* \c-blue Second Death \c-off - [Chapter 1](https://www.anewkindofmonster.com/post/second-death-chapter-1-free-read)
+* \c-blue Second Death (Chapter 1) \c-off - [Chapter 1](https://www.anewkindofmonster.com/post/second-death-chapter-1-free-read)
* \c-cyan Firewatch \c-off (via MATN playthrough: [Jon's playlist](https://www.youtube.com/playlist?list=PLwH1xJhcXG0c--_wyRA_KUsE5AHcnclvp))
* \c-blue Glenmont Metro series (Part 1 & 3) \c-off - [part 1](https://www.anewkindofmonster.com/post/if-you-re-armed-and-at-the-glenmont-metro-please-shoot-me), [part3](https://www.anewkindofmonster.com/post/my-patient-spent-eight-million-years-under-a-bench-at-the-genmont-metro-part-1)
* \c-yellow Arcadia \c-off (analog horror series) via [Crowmudgeon's video](https://www.youtube.com/watch?v=aEKtYqxuDCk)
diff --git a/scripts/build.sh b/scripts/build.sh
@@ -1,18 +1,30 @@
#!/bin/sh
-[ -d /tmp/mainwebsite ] && rm -rf /tmp/mainwebsite
+TMP_DIR="/tmp/personal-website"
-mkdir /tmp/mainwebsite
-mkdir /tmp/mainwebsite/content
+[ -d "$TMP_DIR" ] && rm -rf "$TMP_DIR"
-cp -r gozer-files/templates /tmp/mainwebsite/
-cp -r gozer-files/config.toml /tmp/mainwebsite/
-cp -r index.md about.md /tmp/mainwebsite/content/
-cp -r linux other blog devlog coding /tmp/mainwebsite/content/
-cp -r static /tmp/mainwebsite/public
-cp -r scripts/ /tmp/mainwebsite/
+mkdir "$TMP_DIR"
+mkdir "${TMP_DIR}/content"
-cd /tmp/mainwebsite
+cd ~/Programs/websites/personal-website
+
+cp -r gozer-files/templates "${TMP_DIR}/"
+cp -r gozer-files/config.toml "${TMP_DIR}/"
+cp -r index.md about.md "${TMP_DIR}/content/"
+cp -r linux other blog devlog coding "${TMP_DIR}/content/"
+cp -r static "${TMP_DIR}/public"
+cp -r scripts/ "${TMP_DIR}/"
+
+while read -r md_file; do
+ if grep -q "draft = true" "$md_file"; then
+ rm "$md_file"
+ fi
+done <<EOF
+$(find "${TMP_DIR}/" -type f | grep 'md$')
+EOF
+
+cd "$TMP_DIR"
gozer build
while read -r html_file; do
@@ -20,7 +32,7 @@ while read -r html_file; do
./scripts/handle-escapes.sh "$html_file" | ./scripts/header-ids.sh | tidy -q -indent > /tmp/tidy_out.html
mv -f /tmp/tidy_out.html "$html_file"
done <<EOF
-$(find /tmp/mainwebsite/build -type f | grep 'html$')
+$(find "${TMP_DIR}/build" -type f | grep 'html$')
EOF
# Using python http.server instead of inbuilt gozer serve as serve re-builds, overwriting my changes with ./handle-escapes.sh and tidy
diff --git a/static/style.css b/static/style.css
@@ -6,7 +6,7 @@ body {
}
a {
- color: #94e2d5;
+ color: #89b4fa;
}
div.sidebar a {