From deb9e415cd67871d89a3bf0fc1f8b7a8cfc8dcc5 Mon Sep 17 00:00:00 2001 From: stanislas Date: Tue, 25 Mar 2025 13:09:26 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9organisation=20des=20recettes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archetypes/apero.md | 37 +++++++++++++++++++ archetypes/dessert.md | 37 +++++++++++++++++++ archetypes/entrees.md | 37 +++++++++++++++++++ archetypes/petit-dejeuner.md | 37 +++++++++++++++++++ archetypes/plats.md | 37 +++++++++++++++++++ content/recettes/apero/_index.md | 10 +++++ content/recettes/{ => apero}/moutabal.md | 0 content/recettes/desserts/_index.md | 10 +++++ .../recettes/{ => desserts}/crepes-froment.md | 0 content/recettes/entrees/_index.md | 11 ++++++ content/recettes/petit-dejeuner/_index.md | 12 ++++++ content/recettes/plats/_index.md | 10 +++++ .../{ => plats}/crepes-pur-sarrasin.md | 0 .../{ => plats}/crepes-sarrasin-froment.md | 0 content/recettes/{ => plats}/wok-hiver.md | 0 layouts/partials/edit-page.html | 2 +- 16 files changed, 239 insertions(+), 1 deletion(-) create mode 100644 archetypes/apero.md create mode 100644 archetypes/dessert.md create mode 100644 archetypes/entrees.md create mode 100644 archetypes/petit-dejeuner.md create mode 100644 archetypes/plats.md create mode 100644 content/recettes/apero/_index.md rename content/recettes/{ => apero}/moutabal.md (100%) create mode 100644 content/recettes/desserts/_index.md rename content/recettes/{ => desserts}/crepes-froment.md (100%) create mode 100644 content/recettes/entrees/_index.md create mode 100644 content/recettes/petit-dejeuner/_index.md create mode 100644 content/recettes/plats/_index.md rename content/recettes/{ => plats}/crepes-pur-sarrasin.md (100%) rename content/recettes/{ => plats}/crepes-sarrasin-froment.md (100%) rename content/recettes/{ => plats}/wok-hiver.md (100%) diff --git a/archetypes/apero.md b/archetypes/apero.md new file mode 100644 index 0000000..9b717b6 --- /dev/null +++ b/archetypes/apero.md @@ -0,0 +1,37 @@ +--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +date: {{ .Date }} +lastmod: {{ .Date }} +publishdate: {{ .Date }} +description: "Recette" +weight: 10 +categories: ["recette", "apéro"] +tags: [] +--- + +{{% panel status="recipe" title="Ingrédients" %}} + +- ingredient 1 +- ingredient 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Matos" %}} + +- matos 1 +- matos 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Instructions" %}} + +1. instruction 1 +2. instruction 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Source" %}} + +https://source.fr + +{{% /panel %}} diff --git a/archetypes/dessert.md b/archetypes/dessert.md new file mode 100644 index 0000000..46f681b --- /dev/null +++ b/archetypes/dessert.md @@ -0,0 +1,37 @@ +--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +date: {{ .Date }} +lastmod: {{ .Date }} +publishdate: {{ .Date }} +description: "Recette" +weight: 10 +categories: ["recette", "dessert"] +tags: [] +--- + +{{% panel status="recipe" title="Ingrédients" %}} + +- ingredient 1 +- ingredient 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Matos" %}} + +- matos 1 +- matos 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Instructions" %}} + +1. instruction 1 +2. instruction 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Source" %}} + +https://source.fr + +{{% /panel %}} diff --git a/archetypes/entrees.md b/archetypes/entrees.md new file mode 100644 index 0000000..b42dc98 --- /dev/null +++ b/archetypes/entrees.md @@ -0,0 +1,37 @@ +--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +date: {{ .Date }} +lastmod: {{ .Date }} +publishdate: {{ .Date }} +description: "Recette" +weight: 10 +categories: ["recette", "entree"] +tags: [] +--- + +{{% panel status="recipe" title="Ingrédients" %}} + +- ingredient 1 +- ingredient 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Matos" %}} + +- matos 1 +- matos 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Instructions" %}} + +1. instruction 1 +2. instruction 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Source" %}} + +https://source.fr + +{{% /panel %}} diff --git a/archetypes/petit-dejeuner.md b/archetypes/petit-dejeuner.md new file mode 100644 index 0000000..8dad688 --- /dev/null +++ b/archetypes/petit-dejeuner.md @@ -0,0 +1,37 @@ +--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +date: {{ .Date }} +lastmod: {{ .Date }} +publishdate: {{ .Date }} +description: "Recette" +weight: 10 +categories: ["recette", "petit-déjeuner"] +tags: [] +--- + +{{% panel status="recipe" title="Ingrédients" %}} + +- ingredient 1 +- ingredient 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Matos" %}} + +- matos 1 +- matos 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Instructions" %}} + +1. instruction 1 +2. instruction 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Source" %}} + +https://source.fr + +{{% /panel %}} diff --git a/archetypes/plats.md b/archetypes/plats.md new file mode 100644 index 0000000..cd1533c --- /dev/null +++ b/archetypes/plats.md @@ -0,0 +1,37 @@ +--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +date: {{ .Date }} +lastmod: {{ .Date }} +publishdate: {{ .Date }} +description: "Recette" +weight: 10 +categories: ["recette", "plat"] +tags: [] +--- + +{{% panel status="recipe" title="Ingrédients" %}} + +- ingredient 1 +- ingredient 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Matos" %}} + +- matos 1 +- matos 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Instructions" %}} + +1. instruction 1 +2. instruction 2 + +{{% /panel %}} + +{{% panel status="recipe" title="Source" %}} + +https://source.fr + +{{% /panel %}} diff --git a/content/recettes/apero/_index.md b/content/recettes/apero/_index.md new file mode 100644 index 0000000..fa7f2a7 --- /dev/null +++ b/content/recettes/apero/_index.md @@ -0,0 +1,10 @@ +--- +title: "Apéroooo !!" +date: 2025-03-25T12:29:08+01:00 +lastmod: 2025-03-25T12:29:08+01:00 +publishdate: 2025-03-25T12:29:08+01:00 +description: "C'est l'heure de l'apéro !" +weight: 10 +categories: ["recette", "apéro"] +tags: [] +--- diff --git a/content/recettes/moutabal.md b/content/recettes/apero/moutabal.md similarity index 100% rename from content/recettes/moutabal.md rename to content/recettes/apero/moutabal.md diff --git a/content/recettes/desserts/_index.md b/content/recettes/desserts/_index.md new file mode 100644 index 0000000..444b3da --- /dev/null +++ b/content/recettes/desserts/_index.md @@ -0,0 +1,10 @@ +--- +title: "Desserts" +date: 2025-03-25T12:29:01+01:00 +lastmod: 2025-03-25T12:29:01+01:00 +publishdate: 2025-03-25T12:29:01+01:00 +description: "J'en connais une qui va aimer" +weight: 40 +categories: ["recette", "apéro"] +tags: [] +--- diff --git a/content/recettes/crepes-froment.md b/content/recettes/desserts/crepes-froment.md similarity index 100% rename from content/recettes/crepes-froment.md rename to content/recettes/desserts/crepes-froment.md diff --git a/content/recettes/entrees/_index.md b/content/recettes/entrees/_index.md new file mode 100644 index 0000000..97f9f75 --- /dev/null +++ b/content/recettes/entrees/_index.md @@ -0,0 +1,11 @@ +--- +title: "Entrées" +date: 2025-03-25T12:27:55+01:00 +lastmod: 2025-03-25T12:27:55+01:00 +publishdate: 2025-03-25T12:27:55+01:00 +description: "Le coin des entrées" +weight: 20 +categories: ["recette", "entrée"] +tags: [] +--- + diff --git a/content/recettes/petit-dejeuner/_index.md b/content/recettes/petit-dejeuner/_index.md new file mode 100644 index 0000000..a7c1ddc --- /dev/null +++ b/content/recettes/petit-dejeuner/_index.md @@ -0,0 +1,12 @@ +--- +title: "_Index" +date: 2025-03-25T12:45:43+01:00 +lastmod: 2025-03-25T12:45:43+01:00 +publishdate: 2025-03-25T12:45:43+01:00 +description: "" +weight: 10 +categories: [] +tags: [] +--- + +Lorem Ipsum. diff --git a/content/recettes/plats/_index.md b/content/recettes/plats/_index.md new file mode 100644 index 0000000..9cf373c --- /dev/null +++ b/content/recettes/plats/_index.md @@ -0,0 +1,10 @@ +--- +title: "Plats" +date: 2025-03-25T12:28:51+01:00 +lastmod: 2025-03-25T12:28:51+01:00 +publishdate: 2025-03-25T12:28:51+01:00 +description: "On va s'en mettre plein la panse" +weight: 30 +categories: ["recette", "plat"] +tags: [] +--- diff --git a/content/recettes/crepes-pur-sarrasin.md b/content/recettes/plats/crepes-pur-sarrasin.md similarity index 100% rename from content/recettes/crepes-pur-sarrasin.md rename to content/recettes/plats/crepes-pur-sarrasin.md diff --git a/content/recettes/crepes-sarrasin-froment.md b/content/recettes/plats/crepes-sarrasin-froment.md similarity index 100% rename from content/recettes/crepes-sarrasin-froment.md rename to content/recettes/plats/crepes-sarrasin-froment.md diff --git a/content/recettes/wok-hiver.md b/content/recettes/plats/wok-hiver.md similarity index 100% rename from content/recettes/wok-hiver.md rename to content/recettes/plats/wok-hiver.md diff --git a/layouts/partials/edit-page.html b/layouts/partials/edit-page.html index f07fa06..e3159eb 100644 --- a/layouts/partials/edit-page.html +++ b/layouts/partials/edit-page.html @@ -1,3 +1,3 @@ {{- if and .Site.Params.git_doc_repository .File -}} -edit Modifier sur la forge jouf +edit Modifier {{- end -}}