adds timestamp to index.html
authorDaniel <thefekete@gmail.com>
Tue, 23 Jun 2020 15:15:07 +0000 (17:15 +0200)
committerDaniel <thefekete@gmail.com>
Tue, 23 Jun 2020 15:15:07 +0000 (17:15 +0200)
Makefile

index 54734c1..c74c12a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@ build/blog/: build/
 build/index.html: index.md build/ inc/head.template inc/foot.template
        sed "s/__TITLE__/thefekete.net/; /__DATE__/d" inc/head.template >$@
        markdown index.md >>$@
+       echo "<p><small>Last updated `date -u`</small></p>" >>$@
        cat inc/foot.template >>$@
 
 build/blog/%.html: blog/%.md build/ inc/head.template inc/foot.template