From 0f796e8d4cdaee7ec9f517e76bdaa4e784e89201 Mon Sep 17 00:00:00 2001 From: RochDLY Date: Fri, 28 Jun 2024 20:44:37 +0200 Subject: =?UTF-8?q?mise=20=C3=A0=20jour=20du=20makefile=20pour=20mettre=20?= =?UTF-8?q?=C3=A0=20jour=20tous=20les=20templates=20lorsqu'un=20partial=20?= =?UTF-8?q?est=20modifi=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 12 ++++++++++++ docs/pages/colophon.html | 2 +- docs/pages/cours.html | 2 +- docs/pages/presentations.html | 2 +- docs/pages/publications.html | 2 +- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 75bde66..6109d8f 100644 --- a/Makefile +++ b/Makefile @@ -124,3 +124,15 @@ index-partials = \ templates/index.html: $(index-partials) @ touch $@ + +templates/index-cache.html: $(index-partials) + @ touch $@ + +pages-partials = \ + templates/partials/footer.html \ + templates/partials/head.html \ + templates/partials/header.html \ + templates/partials/nav.html + +templates/page.html: $(pages-partials) + @ touch $@ \ No newline at end of file diff --git a/docs/pages/colophon.html b/docs/pages/colophon.html index 89a9bf7..4f074bf 100644 --- a/docs/pages/colophon.html +++ b/docs/pages/colophon.html @@ -21,7 +21,7 @@