diff options
Diffstat (limited to 'layouts/recipes/single.html')
-rw-r--r-- | layouts/recipes/single.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html index 0a7d1ad..7919970 100644 --- a/layouts/recipes/single.html +++ b/layouts/recipes/single.html @@ -60,7 +60,14 @@ <td> <input id="ingredient{{ $i }}" type="checkbox"> </td> - <td><label for="ingredient{{ $i }}">{{ .label }}</label></td> + <td> + <label for="ingredient{{ $i }}">{{ .label }}</label> + {{- if .links }} + {{- range .links }} + <a class="external-link-icon" href="{{ . }}">↗</span></a> + {{- end }} + {{- end }} + </td> {{- if .unit }} <td data-unit="{{ $ingredient.unit }}" data-amount="{{ $ingredient.amount }}">{{ .amount }}</td> <td data-unit="{{ $ingredient.unit }}">{{ $ingredient.unit }}</td> |