From bd74322288285bd6b62f494944486a89fafcf7bb Mon Sep 17 00:00:00 2001 From: Orestis <orestis.malaspinas@pm.me> Date: Fri, 12 Mar 2021 20:07:22 +0100 Subject: [PATCH] corrected date error for hakyll --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bf1f98c..d77f9a9 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ hakyll_gen: $(MARKDOWN) $(MARKDOWN): %.markdown: 00_macros.md %.md 08_notes.md $(file >$@,---) - $(file >>$@,\date: $(shell git log --follow -p -1 --format=%cd --date=format:'%Y-%m-%d' -- $(word 2,$^) | head -n 1)) + $(file >>$@,date: $(shell git log --follow -p -1 --format=%cd --date=format:'%Y-%m-%d' -- $(word 2,$^) | head -n 1)) $(file >>$@,mathjax: on) $(file >>$@,---) cat $^ >> $@ -- GitLab