diff --git a/_includes/recipe.njk b/_includes/recipe.njk index aab5197..f0a529e 100644 --- a/_includes/recipe.njk +++ b/_includes/recipe.njk @@ -8,6 +8,12 @@ layout: base.njk Draft {% endif %}
Version {{ recipeVersion }}
+ {% if amount %} +Amount: {{ amount }}
+ {% endif %} + {% if cookingTime %} +Cooking Time: {{ cookingTime }}
+ {% endif %}{{ recipe.data.newest.data.description }}
{% endif %} + {% if recipe.data.newest.data.amount %} +Amount: {{ recipe.data.newest.data.amount }}
+ {% endif %} + {% if recipe.data.newest.data.cookingTime %} +Cooking Time: {{ recipe.data.newest.data.cookingTime }}
+ {% endif %} {% endif %} diff --git a/recipes-index.njk b/recipes-index.njk index b129f8c..cea2fc4 100644 --- a/recipes-index.njk +++ b/recipes-index.njk @@ -24,6 +24,12 @@ permalink: /recipes/ {% if recipeData.newest.data.description %}{{ recipeData.newest.data.description }}
{% endif %} + {% if recipeData.newest.data.amount %} +Amount: {{ recipeData.newest.data.amount }}
+ {% endif %} + {% if recipeData.newest.data.cookingTime %} +Cooking Time: {{ recipeData.newest.data.cookingTime }}
+ {% endif %} {% endif %}