recipes

The recipes and recipe books used in our family
git clone git://archive.git.mtrnord.blog/MTRNord/recipes.git
Log | Files | Refs | README | LICENSE

commit 6225d37c7f14778759d46e5c13b3aa95fc35ff29
parent 179323e4cd5bfa5442ed2e9f7d3b4d27f800e1a9
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 18 Nov 2023 16:44:47 +0100

Prepare english

Diffstat:
Mastro.config.mjs | 26+++++++++++++++++---------
Rsrc/content/docs/guides/rezepte.mdoc -> src/content/docs/de-DE/guides/rezepte.md | 0
Asrc/content/docs/de-DE/index.md | 17+++++++++++++++++
Rsrc/content/docs/recipes/Gomasio.mdoc -> src/content/docs/de-DE/recipes/Gomasio.md | 0
Rsrc/content/docs/recipes/Salzmischungen/Balsamico-Salz.mdoc -> src/content/docs/de-DE/recipes/Salzmischungen/Balsamico-Salz.md | 0
Rsrc/content/docs/recipes/Salzmischungen/Basilikumsalz.mdoc -> src/content/docs/de-DE/recipes/Salzmischungen/Basilikumsalz.md | 0
Rsrc/content/docs/recipes/Salzmischungen/Butterbrotsalz.mdoc -> src/content/docs/de-DE/recipes/Salzmischungen/Butterbrotsalz.md | 0
Rsrc/content/docs/recipes/Salzmischungen/Himbeersalz.mdoc -> src/content/docs/de-DE/recipes/Salzmischungen/Himbeersalz.md | 0
Rsrc/content/docs/recipes/Salzmischungen/Olivensalz.mdoc -> src/content/docs/de-DE/recipes/Salzmischungen/Olivensalz.md | 0
Rsrc/content/docs/recipes/Salzmischungen/Tomatensalz.mdoc -> src/content/docs/de-DE/recipes/Salzmischungen/Tomatensalz.md | 0
Rsrc/content/docs/recipes/Salzmischungen/index.mdoc -> src/content/docs/de-DE/recipes/Salzmischungen/index.md | 0
Rsrc/content/docs/recipes/index.mdoc -> src/content/docs/de-DE/recipes/index.md | 0
Asrc/content/docs/en/guides/recipes.md | 6++++++
Asrc/content/docs/en/index.md | 17+++++++++++++++++
Asrc/content/docs/en/recipes/index.md | 4++++
Dsrc/content/docs/index.mdoc | 17-----------------
16 files changed, 61 insertions(+), 26 deletions(-)

diff --git a/astro.config.mjs b/astro.config.mjs @@ -8,12 +8,19 @@ import tailwind from "@astrojs/tailwind"; // https://astro.build/config export default defineConfig({ site: 'https://recipes.nordgedanken.dev', - integrations: [starlightLinksValidator(), starlight({ + integrations: [starlightLinksValidator(), tailwind({ + // Disable the default base styles: + applyBaseStyles: false, + }), starlight({ title: 'Rezepte', + defaultLocale: 'de-de', locales: { - root: { + 'de-de': { label: 'Deutsch', - lang: 'de-DE' + lang: 'de-de' + }, + en: { + label: 'English' } }, customCss: [ @@ -21,11 +28,17 @@ export default defineConfig({ ], sidebar: [{ label: 'Rezepte', + translations: { + 'en': 'Recipes', + }, autogenerate: { directory: 'recipes' } }, { label: 'Anleitungen', + translations: { + 'en': 'Guides', + }, autogenerate: { directory: 'guides' } @@ -33,10 +46,5 @@ export default defineConfig({ components: { MarkdownContent: './src/components/recipe.astro' } - }), markdoc({ - allowHTML: true - }), tailwind({ - // Disable the default base styles: - applyBaseStyles: false, - })] + }), markdoc()] }); \ No newline at end of file diff --git a/src/content/docs/guides/rezepte.mdoc b/src/content/docs/de-DE/guides/rezepte.md diff --git a/src/content/docs/de-DE/index.md b/src/content/docs/de-DE/index.md @@ -0,0 +1,17 @@ +--- +title: Willkommen zu den Rezepten +description: Beginne ein Rezept zu finden +template: splash +hero: + tagline: Beginne ein Rezept zu finden + image: + file: ../../../assets/houston.webp + actions: + - text: Rezepte + link: /de-de/recipes/ + icon: right-arrow + variant: primary + - text: Lese die Anleitung + link: /de-de/guides/rezepte/ + icon: external +--- diff --git a/src/content/docs/recipes/Gomasio.mdoc b/src/content/docs/de-DE/recipes/Gomasio.md diff --git a/src/content/docs/recipes/Salzmischungen/Balsamico-Salz.mdoc b/src/content/docs/de-DE/recipes/Salzmischungen/Balsamico-Salz.md diff --git a/src/content/docs/recipes/Salzmischungen/Basilikumsalz.mdoc b/src/content/docs/de-DE/recipes/Salzmischungen/Basilikumsalz.md diff --git a/src/content/docs/recipes/Salzmischungen/Butterbrotsalz.mdoc b/src/content/docs/de-DE/recipes/Salzmischungen/Butterbrotsalz.md diff --git a/src/content/docs/recipes/Salzmischungen/Himbeersalz.mdoc b/src/content/docs/de-DE/recipes/Salzmischungen/Himbeersalz.md diff --git a/src/content/docs/recipes/Salzmischungen/Olivensalz.mdoc b/src/content/docs/de-DE/recipes/Salzmischungen/Olivensalz.md diff --git a/src/content/docs/recipes/Salzmischungen/Tomatensalz.mdoc b/src/content/docs/de-DE/recipes/Salzmischungen/Tomatensalz.md diff --git a/src/content/docs/recipes/Salzmischungen/index.mdoc b/src/content/docs/de-DE/recipes/Salzmischungen/index.md diff --git a/src/content/docs/recipes/index.mdoc b/src/content/docs/de-DE/recipes/index.md diff --git a/src/content/docs/en/guides/recipes.md b/src/content/docs/en/guides/recipes.md @@ -0,0 +1,6 @@ +--- +title: Creating Recipes +description: Create a new recipe using markdown +--- + +## Blub diff --git a/src/content/docs/en/index.md b/src/content/docs/en/index.md @@ -0,0 +1,17 @@ +--- +title: Welcome to the Recipes +description: Start finding your recipe +template: splash +hero: + tagline: Start finding your recipe + image: + file: ../../../assets/houston.webp + actions: + - text: Recipes + link: /en/recipes/ + icon: right-arrow + variant: primary + - text: Read the docs + link: /en/guides/recipes/ + icon: external +--- diff --git a/src/content/docs/en/recipes/index.md b/src/content/docs/en/recipes/index.md @@ -0,0 +1,3 @@ +--- +title: Recipes +--- +\ No newline at end of file diff --git a/src/content/docs/index.mdoc b/src/content/docs/index.mdoc @@ -1,17 +0,0 @@ ---- -title: Willkommen zu den Rezepten -description: Beginne ein Rezept zu finden -template: splash -hero: - tagline: Beginne ein Rezept zu finden - image: - file: ../../assets/houston.webp - actions: - - text: Rezepte - link: /recipes/ - icon: right-arrow - variant: primary - - text: Lese die Anleitung - link: /guides/rezepte/ - icon: external ----