add initial content (home, about-{natalie,site}, its-laptop)

This commit is contained in:
2025-05-07 17:17:37 -07:00
parent 1faa6dad4f
commit 895e296f1a
47 changed files with 903 additions and 0 deletions

11
www/src/scripts/img-caption Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
path=$1
caption=$2
if [ -z "${caption}" ]; then
caption="$(basename "$path" | sed 's/-/ /g; s/\.[^.]*$//')"
fi
echo "<figure><a href='$path'><img src='$path' alt='$caption'></a><figcaption>$caption</figcaption></figure>"