quatuorbellefeuille.com

Content, build scripts and admin scripts for the Bellefeuille Quartet website.
git clone https://git.kevinlegouguec.net/quatuorbellefeuille.com
Log | Files | Refs

commit b864728419da61afe06aa0116282f18c5c77e56f
parent 05c71371a97e65447003d4d18b492ae65f868082
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Tue, 16 Mar 2021 01:09:58 +0100

Translate site map, tweak legal notice font sizes

Diffstat:
MMakefile | 1+
Aen/sitemap.html | 3+++
Aen/sitemap.md | 13+++++++++++++
Aen/sitemap.sh | 13+++++++++++++
Mplan.md | 1+
Mstylesheets/légal.css | 14+++++++++++---
6 files changed, 42 insertions(+), 3 deletions(-)

diff --git 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 @@ -0,0 +1,3 @@ +<main> +{PLAN} +</main> diff --git a/en/sitemap.md 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 @@ -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 @@ -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égal.css b/stylesheets/légal.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; + } + +}