From b864728419da61afe06aa0116282f18c5c77e56f Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 16 Mar 2021 01:09:58 +0100 Subject: Translate site map, tweak legal notice font sizes --- Makefile | 1 + en/sitemap.html | 3 +++ en/sitemap.md | 13 +++++++++++++ en/sitemap.sh | 13 +++++++++++++ plan.md | 1 + "stylesheets/l\303\251gal.css" | 14 +++++++++++--- 6 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 en/sitemap.html create mode 100644 en/sitemap.md create mode 100644 en/sitemap.sh diff --git a/Makefile b/Makefile index 661d14b..df90bc1 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,7 @@ $(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 +$(OUTDIR)/en/sitemap.html: en/sitemap.md # Rules for automatic, incremental folder creation. diff --git a/en/sitemap.html b/en/sitemap.html new file mode 100644 index 0000000..93c8748 --- /dev/null +++ b/en/sitemap.html @@ -0,0 +1,3 @@ +
+{PLAN} +
diff --git a/en/sitemap.md b/en/sitemap.md new file mode 100644 index 0000000..4d7c711 --- /dev/null +++ b/en/sitemap.md @@ -0,0 +1,13 @@ +- [Index](index.html) +- [Presentation of the quartet](quartet.html) + - [Presentation of Sophie Guille des Buttes](sophie.html) + - [Presentation of David Forest](david.html) + - [Presentation of Hervé Blandinières](hervé.html) + - [Presentation of Enguerrand Bontoux](enguerrand.html) +- [List of past and future concerts](concerts.html) +- [List of programs](programs.html) +- [Photo and video gallery](gallery.html) +- [Contact and partners](contact.html) +- [Mentions légales](legal.html) +- [Site map](sitemap.html) +- [French index (index en français)](../index.html) diff --git a/en/sitemap.sh b/en/sitemap.sh new file mode 100644 index 0000000..cea7293 --- /dev/null +++ b/en/sitemap.sh @@ -0,0 +1,13 @@ +add-plan () +{ + sed -i \ + -e /'{PLAN}'/'r '<(pandoc en/sitemap.md) \ + -e /'{PLAN}'/'c\' \ + $1 +} + +title='Site map' +stylesheets=(plan) +transforms=() # TODO: highlight footer link +postprocess=add-plan +translation=plan diff --git a/plan.md b/plan.md index 30f1850..569619c 100644 --- a/plan.md +++ b/plan.md @@ -10,3 +10,4 @@ - [Contact et partenaires](contact.html) - [Mentions légales](légal.html) - [Plan du site](plan.html) +- [Accueil en anglais (English index)](en/index.html) diff --git "a/stylesheets/l\303\251gal.css" "b/stylesheets/l\303\251gal.css" index 6e39400..04c8775 100644 --- "a/stylesheets/l\303\251gal.css" +++ "b/stylesheets/l\303\251gal.css" @@ -1,6 +1,5 @@ -main { - max-width: 55em; - justify-self: center; +main h2 { + font-size: 1.1em; } .icons p { @@ -12,3 +11,12 @@ main { width: 2em; filter: brightness(0); } + +@media (min-width: 40em) { + main { + max-width: 55em; + justify-self: center; + font-size: 1rem; + } + +} -- cgit v1.2.3