summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-14 10:03:19 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-14 10:08:19 +0100
commit234a47f69f0957bf3e3d268749b01e112d53bb6c (patch)
treeb6da59bc4d1bc9e93c0b0631042949bfd7ac02bc /include
parent09e860d5a1e30901327aadb6bdfa0ee6afb00277 (diff)
Move /srp to /blog
Diffstat (limited to 'include')
-rw-r--r--include/lib.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib.m4 b/include/lib.m4
index 345e670..ead0887 100644
--- a/include/lib.m4
+++ b/include/lib.m4
@@ -22,8 +22,8 @@ m4_dnl Macro for generating abbrevations
m4_define(m4_abbr, ⁨@abbr .m4_translit($1, A-Z2, a-zt) {-$1}⁩)
m4_define(m4_file_create_date, ⁨m4_esyscmd(
- git log --reverse --pretty='format:%cI' $(dirname m4___file__)/$1/index.gsp \
- | head -n1 \
+ git log --follow --pretty='format:%cI' $(dirname m4___file__)/$1/index.gsp \
+ | tail -n1 \
| ifne xargs date +'%-d %B %Y' -d \
| ifne -n echo 'No date yet…'
)⁩)