diff options
Diffstat (limited to 'include/footer.gsp')
-rw-r--r-- | include/footer.gsp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/footer.gsp b/include/footer.gsp new file mode 100644 index 0000000..f613fcf --- /dev/null +++ b/include/footer.gsp @@ -0,0 +1,14 @@ +m4_define(m4___id__, m4_esyscmd(git rev-list -1 HEAD m4___caller__)) +small {- + Page last edited: + @a + href="https://git.thomasvoss.com/www.thomasvoss.com/commit?id=m4___id__" + target="_blank" + {- + m4_esyscmd( + git log -1 --pretty='format:%cI' m4___caller__ \ + | ifne xargs date +'%A %d %B %Y — %T %Z' -d \ + | ifne -n echo 'No commit yet…' + ) + } +} |