Skip to content

Commit 0c17eab

Browse files
committed
Missing field handle in example
1 parent b67466c commit 0c17eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/5.x/system/elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ You can also render lists of elements by calling the `render()` method on an [el
176176

177177
```twig
178178
{# _partials/entry/ingredient.twig #}
179-
{% if entry.field and entry.field.handle == '' %}
179+
{% if entry.field and entry.field.handle == 'nutritionHighlights' %}
180180
{{ entry.typicalCalories }}
181181
{% endif %}
182182
```

0 commit comments

Comments
 (0)