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
1 changed files with 5 additions and 3 deletions

View File

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