Initial commit

This commit is contained in:
2025-07-04 20:19:33 -04:00
parent ee79a276ee
commit 2d38c00f27
4 changed files with 87 additions and 0 deletions

10
update-recent-blog-posts.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
set -euo pipefail
BASEDIR="$(dirname "${0}" | sed "s|^\.|${PWD}|")"
source "${BASEDIR}/website.conf"
cat "${WEBROOT}/_markdown/blog.md" | sed 's|^5\..*||; s|^4\.|5\.|; s|^3\.|4\.|; s|^2\.|3\.|; s|^1\.|1\. \n2\.|' | tee "${WEBROOT}/_markdown/blog.md" &> /dev/null