diff options
author | Sean Lane <5761232+seanlane@users.noreply.github.com> | 2020-06-05 17:07:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-05 17:07:56 +0300 |
commit | 5e605f462709dc6407c33ce37d7adad139597189 (patch) | |
tree | eb4a24c03ae65a8a8b1a905e356aebd36f57b82b | |
parent | 49571df43f716a322433fabe65a4edf2db6498fe (diff) | |
parent | 8fe90ce8393445e1786b98aae3844bde5c5fd3ac (diff) |
Merge pull request #4 from rogiervandergeer/master
Add yield and times
-rw-r--r-- | layouts/recipes/single.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html index d09e5cc..5b0778f 100644 --- a/layouts/recipes/single.html +++ b/layouts/recipes/single.html @@ -27,6 +27,24 @@ <div class="sm-col-8 mx-auto" itemprop="description">{{.Content}}</div> </div> + <div class="clearfix mt3"> + {{ with .Params.yield }} + <div class="sm-col sm-col-2"> + <h4 class="blue mt0 mb2 xs-center">Yields: {{ . }}</h4> + </div> + {{ end }} + {{ with .Params.prepTime }} + <div class="sm-col sm-col-2"> + <h4 class="blue mt0 mb2 xs-center">Preparation time: {{ . }}</h4> + </div> + {{ end }} + {{ with .Params.cookTime }} + <div class="sm-col sm-col-2"> + <h4 class="blue mt0 mb2 xs-center">Cooking time: {{ . }}</h4> + </div> + {{ end }} + </div> + <!-- call up recipe and directions --> <div class="clearfix mt3"> <div class="sm-col sm-col-6 lg-col-6 recipeItems"> |