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 %}