From 99c777e7bc616f5238ba9db947a86a236f71f943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Sun, 3 Apr 2016 20:24:31 +0200 Subject: [PATCH] Fix a typo --- content/docs/api/db/query/first/contents.lr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}

Explore More ...

{{ first_visible.title }}