diff options
author | Bradley Taunt <bt@btxx.org> | 2024-06-10 10:12:28 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-06-10 10:12:28 -0400 |
commit | 14074019d62d98885c4c764401a9e7e1fd129f79 (patch) | |
tree | c688b288de21b5c475fa2e512be8a8418b9ba8e6 /barf | |
parent | 80eefc47a0982703e48eb9b1cf4e5180f945ef10 (diff) |
Set proper timestamps for header and footer HTML templates, update some post contents
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 } |