File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
content/docs/howto/try-aliasv2-experiment
hugo/content/en/docs/howto/try-aliasv2-experiment Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 177177 g: Root[ "-foo"] + 2
178178 "-foo": "not-44"
179179}
180+
181+ // The self identifier references containing lists.
182+ h: [ 10, self[ 0] + 1, self[ 1] * 2]
180183-- out --
181184a:
182185 foo:
@@ -188,6 +191,10 @@ d: 45
188191e:
189192 g: 46
190193 -foo: not-44
194+ h:
195+ - 10
196+ - 11
197+ - 22
191198{{{end}}}
192199
193200## Conclusion
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ package site
1111 " 1 new " : " nxPfn5SpmUHekMpOyGDGcOnXNm3psvRuKQZjFTWcwtU= "
1212 }
1313 code : {
14- " 2 new " : " 49o/cDoGgckZtwb5VXVZHrkzxKJn/Pjg/2KeyJYQYEs ="
14+ " 2 new " : " LLv5ph8BPtnBPvtWk+P+21yRQYaRYuV1zAWzj6I9v5w ="
1515 }
1616 multi_step : {
1717 hash : " NGD7JD5BHLDTV27R09JF6B7G7O0UC6T09J9C1TMC6C84DK2FTETG==== "
Original file line number Diff line number Diff line change 190190 g: Root[ "-foo"] + 2
191191 "-foo": "not-44"
192192}
193+
194+ // The self identifier references containing lists.
195+ h: [ 10, self[ 0] + 1, self[ 1] * 2]
193196{{< /code-tab >}}
194197{{< code-tab name="TERMINAL" language="" area="top-right" type="terminal" codetocopy="Y3VlIGV4cG9ydCBleHBlcmltZW50YWwtc3ludGF4LmN1ZSAtLW91dCB5YW1s" >}}
195198$ cue export experimental-syntax.cue --out yaml
@@ -203,6 +206,10 @@ d: 45
203206e:
204207 g: 46
205208 -foo: not-44
209+ h:
210+ - 10
211+ - 11
212+ - 22
206213{{< /code-tab >}}
207214{{< /code-tabs >}}
208215
You can’t perform that action at this time.
0 commit comments