split ingredients and directions so they are not a 2 column setup ; flattened to 1 column

This commit is contained in:
KemoNine 2022-12-04 15:35:37 -05:00
parent e65933ad68
commit 929b997c92

View file

@ -52,18 +52,20 @@
</ul> </ul>
{{ end }} {{ end }}
</div> </div>
</div>
{{ if .Params.directions }} {{ if .Params.directions }}
<div class="clearfix mt3">
<div class="sm-col sm-col-6 lg-col-6 recipeItems"> <div class="sm-col sm-col-6 lg-col-6 recipeItems">
<h4 class="blue mt0 mb2 xs-center">{{ i18n "directions" }}</h4> <h4 class="blue mt0 mb2 xs-center">{{ i18n "directions" }}</h4>
<ul itemprop="recipeInstructions"> <ul itemprop="recipeInstructions">
{{ range .Params.Directions }} {{ range .Params.Directions }}
<li> <li>
{{ with ( . | markdownify) }}{{ partial "recipe_item.html" . }}{{ end }} {{ with ( . | markdownify) }}{{ partial "recipe_item.html" . }}{{ end }}
</li> </li>
{{ end }} {{ end }}
</ul> </ul>
</div> </div>
</div> </div>
{{ end }} {{ end }}
<!-- end recipe and directions --> <!-- end recipe and directions -->