diff --git a/content/docs/api/db/query/first/contents.lr b/content/docs/api/db/query/first/contents.lr index 0ac23b37..3c082a91 100644 --- a/content/docs/api/db/query/first/contents.lr +++ b/content/docs/api/db/query/first/contents.lr @@ -12,7 +12,7 @@ query. If no such record can be produced, `None` is returned. ## Example ```html+jinja -{% first_visible = this.children.first() %} +{% set first_visible = this.children.first() %} {% if first_visible %}
{{ first_visible.title }}