diff options
Diffstat (limited to 'barf')
-rwxr-xr-x | barf | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 } |