This repository was archived by the owner on Feb 21, 2024. It is now read-only.
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -99,9 +99,9 @@ This concerns [all text fields](https://docs.directus.io/app/data-model/fields/t
99
99
``` liquidjs
100
100
{% liquid
101
101
assign article = directus.collections.article | first
102
- article.title
103
- article.date_updated
104
- article.some_checkbox
102
+ echo article.title
103
+ echo article.date_updated
104
+ echo article.some_checkbox
105
105
%}
106
106
```
107
107
@@ -167,7 +167,7 @@ With `reciepe` a singleton collection
167
167
``` liquid
168
168
{% liquid
169
169
ingredient = directus.collections.reciepe | directus_relation: "ingredients" | first
170
- ingredient.name
170
+ echo ingredient.name
171
171
%}
172
172
```
173
173
### Builder - M2A
@@ -178,9 +178,9 @@ for page in directus.collections.pages
178
178
assign sections = page | directus_relation: "sections"
179
179
assign first = sections | first
180
180
if first.collection == "headings"
181
- section.title
181
+ echo section.title
182
182
else
183
- section.text
183
+ echo section.text
184
184
endif
185
185
endfor
186
186
%}
@@ -192,6 +192,6 @@ endfor
192
192
{% liquid
193
193
assign article = directus.collections.article | first
194
194
assign translted = article | directus_relation: "translation" | where: "lang", "fr"
195
- translated.title
195
+ echo translated.title
196
196
%}
197
197
```
You can’t perform that action at this time.
0 commit comments