From f2d214ecee12ed09860a27601f55a2801d6d2fdf Mon Sep 17 00:00:00 2001 From: Rue Turner Date: Tue, 2 Feb 2021 16:17:50 +0000 Subject: [PATCH] Add yield to recipe --- _includes/yield.html | 14 ++++++++++++++ _layouts/recipe.html | 1 + 2 files changed, 15 insertions(+) create mode 100644 _includes/yield.html diff --git a/_includes/yield.html b/_includes/yield.html new file mode 100644 index 000000000..ff4ac2396 --- /dev/null +++ b/_includes/yield.html @@ -0,0 +1,14 @@ +{% assign thisRecipe = include.recipe %} +{% if thisRecipe.yield %} +
+
+ + + + + Yield + {{ thisRecipe.yield }} +
+
+{% endif %} +{% assign thisRecipe = nil %} diff --git a/_layouts/recipe.html b/_layouts/recipe.html index 33426a7e0..f802d864f 100644 --- a/_layouts/recipe.html +++ b/_layouts/recipe.html @@ -22,6 +22,7 @@

{{ page.title }}

+ {% include yield.html recipe=page %}