From 05c71371a97e65447003d4d18b492ae65f868082 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 16 Mar 2021 00:59:33 +0100 Subject: Add site map --- Makefile | 1 + plan.html | 3 +++ plan.md | 12 ++++++++++++ plan.sh | 13 +++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 plan.html create mode 100644 plan.md create mode 100644 plan.sh diff --git a/Makefile b/Makefile index 87c6431..661d14b 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,7 @@ $(members_pages): $(OUTDIR)/%.html: %.membre.in build-member.sh $$(langdir)/temp $(OUTDIR)/quatuor.html: quatuor.md $(OUTDIR)/programmes.html: programs.in $(OUTDIR)/légal.html: légal.md +$(OUTDIR)/plan.html: plan.md $(OUTDIR)/en/quartet.html: en/quartet.md $(OUTDIR)/en/programs.html: en/programs.in $(OUTDIR)/en/legal.html: en/legal.md diff --git a/plan.html b/plan.html new file mode 100644 index 0000000..93c8748 --- /dev/null +++ b/plan.html @@ -0,0 +1,3 @@ +
+{PLAN} +
diff --git a/plan.md b/plan.md new file mode 100644 index 0000000..30f1850 --- /dev/null +++ b/plan.md @@ -0,0 +1,12 @@ +- [Accueil](index.html) +- [Présentation du quatuor](quatuor.html) + - [Présentation de Sophie Guille des Buttes](sophie.html) + - [Présentation de David Forest](david.html) + - [Présentation de Hervé Blandinières](hervé.html) + - [Présentation d'Enguerrand Bontoux](enguerrand.html) +- [Liste des concerts passés et à venir](concerts.html) +- [Liste des programmes](programmes.html) +- [Galerie photos et vidéos](galerie.html) +- [Contact et partenaires](contact.html) +- [Mentions légales](légal.html) +- [Plan du site](plan.html) diff --git a/plan.sh b/plan.sh new file mode 100644 index 0000000..1dee923 --- /dev/null +++ b/plan.sh @@ -0,0 +1,13 @@ +add-plan () +{ + sed -i \ + -e /'{PLAN}'/'r '<(pandoc plan.md) \ + -e /'{PLAN}'/'c\' \ + $1 +} + +title='Plan du site' +stylesheets=(plan) +transforms=() # TODO: highlight footer link +postprocess=add-plan +translation=sitemap -- cgit v1.2.3