test hook lastmod

This commit is contained in:
Nathan Anderson 2026-02-02 23:19:22 -07:00
parent a679c59b7b
commit 73e56f66e3
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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