diff --git a/.gitignore b/.gitignore
index ca0e1cfbfd9f47405c10a9e3b724f0dcca90175f..ff08ece4cb237d83a685655e5a606d20220be9ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
 *.backup
 *.pdf
 *.html
+*.markdown
diff --git a/10_footer.md b/10_footer.md
index fb1aee9598a4b58a7fc82cce378bebc05699df80..b859f0f170bb2a93d12d7c17a5ce2a7e9b77aa3a 100644
--- a/10_footer.md
+++ b/10_footer.md
@@ -15,3 +15,4 @@ les jointures des articulation $\mu_k=0.01$.
 
 [^6]: A titre d'exemple, pour un contact bois sur bois, on a $\mu_s=0.4$, pour du caoutchouc sur du béton $\mu_s=1$, et pour 
 les jointures des articulation $\mu_s=0.01$.
+
diff --git a/Makefile b/Makefile
index 87d2ede0686348f4e0deb7c58fc7212df5da8a19..368a88df7fa8fb41b37e7c9dcef1f49cc2c0f090 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,20 @@ cours.pdf: 00_macros.md 01_analyse_dimensionnelle.md 02_lois_de_newton.md 03_cha
 cours.html: 00_macros.md 01_analyse_dimensionnelle.md 02_lois_de_newton.md 03_charge_electrique_champs_electrique.md 10_footer.md
 	pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $^ --metadata-file metadata.yaml
 
+hakyll_gen: Analyse_Dimensionnelle.markdown Lois_de_Newton.markdown Charge_Electrique_Champs_Electrique.markdown
+
+Analyse_Dimensionnelle.markdown: 00_macros.md 01_analyse_dimensionnelle.md 10_footer.md
+	cat $^ > $@
+	sed -i "1i ---\ndate: $(shell git log --follow -p -1 --format=%cd --date=format:'%Y-%m-%d' -- 01_rappel.md | head -n 1)\nmathjax: on\n---" $@
+
+Lois_de_Newton.markdown: 00_macros.md 02_lois_de_newton.md 10_footer.md
+	cat $^ > $@
+	sed -i "1i ---\ndate: $(shell git log --follow -p -1 --format=%cd --date=format:'%Y-%m-%d' -- 01_rappel.md | head -n 1)\nmathjax: on\n---" $@
+
+Charge_Electrique_Champs_Electrique.markdown: 00_macros.md 03_charge_electrique_champs_electrique.md 10_footer.md
+	cat $^ > $@
+	sed -i "1i ---\ndate: $(shell git log --follow -p -1 --format=%cd --date=format:'%Y-%m-%d' -- 01_rappel.md | head -n 1)\nmathjax: on\n---" $@
+
 deploy: all
 	mkdir -p phys
 	cp cours.html phys/index.html