split ingredients and directions so they are not a 2 column setup ; flattened to 1 column
This commit is contained in:
parent
e65933ad68
commit
929b997c92
|
@ -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 -->
|
||||||
|
|
Loading…
Reference in a new issue