revamp projects, continue editing and add precommit hook for lastmod frontmatter
This commit is contained in:
@@ -5,6 +5,12 @@ NC='\033[0m' # No Color
|
||||
|
||||
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"
|
||||
fi
|
||||
|
||||
# Track overall success/failure
|
||||
OVERALL_RESULT=0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user