diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 8711b96..557fae5 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -7,8 +7,10 @@ echo "Running pre-commit checks..." # Auto-update lastmod in content files (non-blocking) # Runs before other checks so lint/spell run on updated files -if [ -x "$(dirname "$0")/update-lastmod.sh" ]; then - "$(dirname "$0")/update-lastmod.sh" || echo "⚠️ lastmod update script encountered an issue" +# Resolve symlink to find the actual script directory +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" +if [ -x "$SCRIPT_DIR/update-lastmod.sh" ]; then + "$SCRIPT_DIR/update-lastmod.sh" || echo "⚠️ lastmod update script encountered an issue" fi # Track overall success/failure diff --git a/content/posts/why-i-let-go-of-the-rod.md b/content/posts/why-i-let-go-of-the-rod.md index d7f2e26..fd32dcd 100644 --- a/content/posts/why-i-let-go-of-the-rod.md +++ b/content/posts/why-i-let-go-of-the-rod.md @@ -2,7 +2,7 @@ date: 2025-11-08 description: "A brief retelling of my experience leaving the Mormon faith." image: "" -lastmod: 2025-11-08 +lastmod: 2026-02-02T23:19:22-07:00 showTableOfContents: false tags: ["religion", "life"] title: "Why I Let Go of the Rod" @@ -48,5 +48,4 @@ When I was 8 or 9, I remember feeling immense responsibility, mixed with privile restored His One True Church to my neighborhood! Relief washed over me when I learned that there were actually millions of us, not just the two hundred in my ward. lol. - test