diff options
Diffstat (limited to 'layouts/components/single.html')
-rw-r--r-- | layouts/components/single.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/components/single.html b/layouts/components/single.html index 5b0778f..cefaca7 100644 --- a/layouts/components/single.html +++ b/layouts/components/single.html @@ -30,17 +30,17 @@ <div class="clearfix mt3"> {{ with .Params.yield }} <div class="sm-col sm-col-2"> - <h4 class="blue mt0 mb2 xs-center">Yields: {{ . }}</h4> + <h4 class="blue mt0 mb2 xs-center">{{ i18n "yields" }}: {{ . }}</h4> </div> {{ end }} {{ with .Params.prepTime }} <div class="sm-col sm-col-2"> - <h4 class="blue mt0 mb2 xs-center">Preparation time: {{ . }}</h4> + <h4 class="blue mt0 mb2 xs-center">{{ i18n "prepTime" }}: {{ . }}</h4> </div> {{ end }} {{ with .Params.cookTime }} <div class="sm-col sm-col-2"> - <h4 class="blue mt0 mb2 xs-center">Cooking time: {{ . }}</h4> + <h4 class="blue mt0 mb2 xs-center">{{ i18n "cookTime" }}: {{ . }}</h4> </div> {{ end }} </div> @@ -50,7 +50,7 @@ <div class="sm-col sm-col-6 lg-col-6 recipeItems"> <!-- check if it's a component-based recipe --> {{ with .Params.Components}} - <h4 class="blue mt0 mb2 xs-center">Components</h4> + <h4 class="blue mt0 mb2 xs-center">{{ i18n "components" }}</h4> <ul> <!-- list components that make up recipe --> {{ range . }} @@ -62,7 +62,7 @@ {{ end }} {{ with .Params.Ingredients }} - <h4 class="blue mt0 mb2 xs-center">Ingredients</h4> + <h4 class="blue mt0 mb2 xs-center">{{ i18n "ingredients" }}</h4> <ul itemprop="ingredients"> <!-- list ingredients that make up recipe --> {{ range . }} @@ -75,7 +75,7 @@ </div> <div class="sm-col sm-col-6 lg-col-6 recipeItems"> - <h4 class="blue mt0 mb2 xs-center">Directions</h4> + <h4 class="blue mt0 mb2 xs-center">{{ i18n "directions" }}</h4> <ul itemprop="recipeInstructions"> {{ range .Params.Directions }} <li> @@ -121,7 +121,7 @@ {{ end }} </ul> - <h4 class="blue regular xs-center">Steps</h4> + <h4 class="blue regular xs-center">{{ i18n "steps" }}</h4> <ul itemprop="instructions"> {{ range .Params.Directions }} <li> |