From 6921c5d93dc3a4bca2f8035c046206ff1b5615f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Brunet?= Date: Sun, 6 Jun 2021 10:27:24 +0200 Subject: [PATCH] Make all labels translatable --- src/_data/site.json | 4 +++- src/_includes/components/taglist.njk | 4 ++-- src/_includes/layouts/recipe.njk | 4 ++-- src/_includes/layouts/recipes-list.njk | 2 +- src/admin/config.yml | 9 ++++++++- src/tag.md | 1 + 6 files changed, 17 insertions(+), 7 deletions(-) diff --git a/src/_data/site.json b/src/_data/site.json index 9781e7e..004b770 100644 --- a/src/_data/site.json +++ b/src/_data/site.json @@ -4,5 +4,7 @@ "author": "John Doe", "primaryColor": "#ffdb70", "secondaryColor": "#32816e", - "searchLabel": "Find recipes by name or ingredients" + "searchLabel": "Find recipes by name or ingredients", + "servingsLabel": "servings", + "ingredientsLabel": "Ingredients" } \ No newline at end of file diff --git a/src/_includes/components/taglist.njk b/src/_includes/components/taglist.njk index a0373ef..bae78fe 100644 --- a/src/_includes/components/taglist.njk +++ b/src/_includes/components/taglist.njk @@ -1,9 +1,9 @@