title: $:/community/recipes/ui/ViewTemplate/ingredient-body
type: text/vnd.tiddlywiki

\whitespace trim
<% if [all[current]has[photo]] %>
<$let photoTitle={{{ [all[current]get[photo]] }}}>
<div class="tc-ingredient-photo">
<$transclude $tiddler=<<photoTitle>> $mode="block"/>
<$transclude $variable="photo-caption" photo=<<photoTitle>>/>
</div>
</$let>
<% endif %>
<$transclude $tiddler=<<currentTiddler>> $field="text" $mode="block"/>
<div class="tc-ingredient-clear"></div>
