From b95abac34bee11c166eaacd43f4beacb798c8157 Mon Sep 17 00:00:00 2001 From: echarp Date: Sat, 7 Jan 2023 22:54:03 +0100 Subject: [PATCH] Proper ordering --- .../pages/1er-quiz/1fafe4b4-2519-438f-b69a-e14b8616eaff.md | 4 ---- .../pages/1er-quiz/283b1ec8-bfa7-48f3-8ce2-9d8f7487fd36.md | 2 +- .../pages/1er-quiz/7c038015-c989-4024-a3cf-14b8557fdb0c.md | 2 +- .../pages/1er-quiz/91b5935e-6a59-447f-afeb-cb7cc2e5bf1c.md | 2 +- .../pages/1er-quiz/9ade4891-d0f3-4644-8d4d-4e787aeaf22c.md | 2 +- .../pages/1er-quiz/b80fcc08-170e-4422-8498-ae1f97b47eda.md | 2 +- .../pages/1er-quiz/c4611613-92e4-4b4b-b9af-a246b86a5a22.md | 2 +- .../pages/1er-quiz/cff71434-fdaf-468f-838c-067059979299.md | 2 +- .../pages/1er-quiz/e0391bfd-e794-49d8-a2f9-76802fed3b52.md | 2 +- content/pages/1er-quiz/start.md | 2 +- themes/acoeur/assets/ananke/css/custom.css | 2 ++ themes/acoeur/i18n/fr.yaml | 2 ++ themes/acoeur/layouts/_default/pages.html | 2 +- themes/acoeur/layouts/index.html | 6 +++--- 14 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 content/pages/1er-quiz/1fafe4b4-2519-438f-b69a-e14b8616eaff.md diff --git a/content/pages/1er-quiz/1fafe4b4-2519-438f-b69a-e14b8616eaff.md b/content/pages/1er-quiz/1fafe4b4-2519-438f-b69a-e14b8616eaff.md deleted file mode 100644 index 4a3d8b4..0000000 --- a/content/pages/1er-quiz/1fafe4b4-2519-438f-b69a-e14b8616eaff.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Ne te décourage pas ---- - diff --git a/content/pages/1er-quiz/283b1ec8-bfa7-48f3-8ce2-9d8f7487fd36.md b/content/pages/1er-quiz/283b1ec8-bfa7-48f3-8ce2-9d8f7487fd36.md index 2e7e346..1aca91d 100644 --- a/content/pages/1er-quiz/283b1ec8-bfa7-48f3-8ce2-9d8f7487fd36.md +++ b/content/pages/1er-quiz/283b1ec8-bfa7-48f3-8ce2-9d8f7487fd36.md @@ -1,5 +1,5 @@ --- -title: Chapitre 7 +title: Chapitre 07 description: Le Choixpeau Magique ac_choices: - "[Ils ont une si mauvaise vue qu'ils n'ont jamais vraiment vu les fentes dans le Choixpeau qui forme son visage](/pages/1er-quiz/erreur)" diff --git a/content/pages/1er-quiz/7c038015-c989-4024-a3cf-14b8557fdb0c.md b/content/pages/1er-quiz/7c038015-c989-4024-a3cf-14b8557fdb0c.md index b785335..a254cc8 100644 --- a/content/pages/1er-quiz/7c038015-c989-4024-a3cf-14b8557fdb0c.md +++ b/content/pages/1er-quiz/7c038015-c989-4024-a3cf-14b8557fdb0c.md @@ -1,5 +1,5 @@ --- -title: Chapitre 6 +title: Chapitre 06 description: Rendez-vous sur la voie 9 3/4 ac_choices: - "[Sirius Black](/pages/1er-quiz/erreur)" diff --git a/content/pages/1er-quiz/91b5935e-6a59-447f-afeb-cb7cc2e5bf1c.md b/content/pages/1er-quiz/91b5935e-6a59-447f-afeb-cb7cc2e5bf1c.md index bbd241d..f409be6 100644 --- a/content/pages/1er-quiz/91b5935e-6a59-447f-afeb-cb7cc2e5bf1c.md +++ b/content/pages/1er-quiz/91b5935e-6a59-447f-afeb-cb7cc2e5bf1c.md @@ -1,5 +1,5 @@ --- -title: Chapitre 9 +title: Chapitre 09 description: Duel à minuit ac_choices: - "[La grande salle](/pages/1er-quiz/erreur)" diff --git a/content/pages/1er-quiz/9ade4891-d0f3-4644-8d4d-4e787aeaf22c.md b/content/pages/1er-quiz/9ade4891-d0f3-4644-8d4d-4e787aeaf22c.md index 13e9fa3..802cfaf 100644 --- a/content/pages/1er-quiz/9ade4891-d0f3-4644-8d4d-4e787aeaf22c.md +++ b/content/pages/1er-quiz/9ade4891-d0f3-4644-8d4d-4e787aeaf22c.md @@ -1,5 +1,5 @@ --- -title: Chapitre 2 +title: Chapitre 02 description: Une vitre disparait ac_choices: - "[Kingsley Shacklebolt](/pages/1er-quiz/erreur)" diff --git a/content/pages/1er-quiz/b80fcc08-170e-4422-8498-ae1f97b47eda.md b/content/pages/1er-quiz/b80fcc08-170e-4422-8498-ae1f97b47eda.md index 6c04fd0..bc58762 100644 --- a/content/pages/1er-quiz/b80fcc08-170e-4422-8498-ae1f97b47eda.md +++ b/content/pages/1er-quiz/b80fcc08-170e-4422-8498-ae1f97b47eda.md @@ -1,5 +1,5 @@ --- -title: Chapitre 5 +title: Chapitre 05 description: Le chemin de traverse ac_choices: - "[Une plume de Fumseck, le phénix de Dumbledore](/pages/1er-quiz/7c038015-c989-4024-a3cf-14b8557fdb0c)" diff --git a/content/pages/1er-quiz/c4611613-92e4-4b4b-b9af-a246b86a5a22.md b/content/pages/1er-quiz/c4611613-92e4-4b4b-b9af-a246b86a5a22.md index c49a5b9..6930f45 100644 --- a/content/pages/1er-quiz/c4611613-92e4-4b4b-b9af-a246b86a5a22.md +++ b/content/pages/1er-quiz/c4611613-92e4-4b4b-b9af-a246b86a5a22.md @@ -1,5 +1,5 @@ --- -title: Chapitre 4 +title: Chapitre 04 description: Le gardien des clefs ac_choices: - "[Pardon, la porte est tombée toute seule.](/pages/1er-quiz/erreur)" diff --git a/content/pages/1er-quiz/cff71434-fdaf-468f-838c-067059979299.md b/content/pages/1er-quiz/cff71434-fdaf-468f-838c-067059979299.md index ba17f45..24210f2 100644 --- a/content/pages/1er-quiz/cff71434-fdaf-468f-838c-067059979299.md +++ b/content/pages/1er-quiz/cff71434-fdaf-468f-838c-067059979299.md @@ -1,5 +1,5 @@ --- -title: Chapitre 3 +title: Chapitre 03 description: Les lettres de nulle part ac_choices: - "[Dans un Hôtel à Carbone-les-Mines](/pages/1er-quiz/erreur)" diff --git a/content/pages/1er-quiz/e0391bfd-e794-49d8-a2f9-76802fed3b52.md b/content/pages/1er-quiz/e0391bfd-e794-49d8-a2f9-76802fed3b52.md index b576fdd..aae5d4e 100644 --- a/content/pages/1er-quiz/e0391bfd-e794-49d8-a2f9-76802fed3b52.md +++ b/content/pages/1er-quiz/e0391bfd-e794-49d8-a2f9-76802fed3b52.md @@ -1,5 +1,5 @@ --- -title: Chapitre 8 +title: Chapitre 08 description: Le maître des potions ac_choices: - "[Une pierre que l'on trouve dans l'estomac des biches et qui constitue un antidote à quelques poisons](/pages/1er-quiz/erreur)" diff --git a/content/pages/1er-quiz/start.md b/content/pages/1er-quiz/start.md index 93f8005..cf3ba71 100644 --- a/content/pages/1er-quiz/start.md +++ b/content/pages/1er-quiz/start.md @@ -1,5 +1,5 @@ --- -title: Chapitre 1 +title: Chapitre 01 description: Le survivant featured_image: /../../../../../assets/Swallow_flying_drinking.jpg ac_choices: diff --git a/themes/acoeur/assets/ananke/css/custom.css b/themes/acoeur/assets/ananke/css/custom.css index 3ae2ec9..25b6e38 100644 --- a/themes/acoeur/assets/ananke/css/custom.css +++ b/themes/acoeur/assets/ananke/css/custom.css @@ -60,6 +60,8 @@ body #content:focus { background-color: rgba(255, 255, 255, 0.5); } +.links .assets, +body.pages header time, .author-only { display: none; } body.author .author-only { display: initial; } body.author .ac_choices .destination { diff --git a/themes/acoeur/i18n/fr.yaml b/themes/acoeur/i18n/fr.yaml index b0c3efa..544cb9a 100644 --- a/themes/acoeur/i18n/fr.yaml +++ b/themes/acoeur/i18n/fr.yaml @@ -14,3 +14,5 @@ users: assets: create: 📤 Transmettre une image delete: 🗑 +groups: + create: 🏠 Créer un nouveau groupe diff --git a/themes/acoeur/layouts/_default/pages.html b/themes/acoeur/layouts/_default/pages.html index bcf7f36..33d3f2b 100644 --- a/themes/acoeur/layouts/_default/pages.html +++ b/themes/acoeur/layouts/_default/pages.html @@ -23,7 +23,7 @@ {{ end }}
- {{ range .Pages }} + {{ range .Pages.ByTitle }} {{ .Render "summary-with-image" }} {{ end }}
diff --git a/themes/acoeur/layouts/index.html b/themes/acoeur/layouts/index.html index 7c87054..c430a28 100644 --- a/themes/acoeur/layouts/index.html +++ b/themes/acoeur/layouts/index.html @@ -8,12 +8,12 @@ {{ .Content }} -
+