aboutsummaryrefslogtreecommitdiff
path: root/barf
diff options
context:
space:
mode:
Diffstat (limited to 'barf')
-rwxr-xr-xbarf5
1 files changed, 3 insertions, 2 deletions
diff --git a/barf b/barf
index c19ec94..b4ba0a5 100755
--- a/barf
+++ b/barf
@@ -175,10 +175,11 @@ EOF
initialize_timestamps() {
if [ ! -f "$timestamp_file" ] || [ ! -s "$timestamp_file" ]; then
echo "Initializing timestamps..."
- for f in index.md posts/*.md pages/*.md; do
+ touch "$timestamp_file" # Ensure the file exists
+ for f in index.md posts/*.md pages/*.md header.html footer.html; do
update_timestamp "$f"
done
- echo "Timestamps initialized for all Markdown files."
+ echo "Timestamps initialized for all files."
fi
}