Nested includes in .yml #362
-
Hi! I've been tinkering and found that I could not nest inclusion of yaml files.
When I run the command: I get the following input on the lines with the nesting (commented out the rest) 2 background-color: 229 19 23
3 contrast-multiplier: 1.2
4 primary-color: 222 74 74
5 positive-color: 96 44 68
6 negative-color: 359 68 71
7
8 pages:
9 #- name: home
10 # columns:
11 # - size: small
12 # widgets:
13 # !include: ccw.yml
14 # - size: full
15 # widgets:
16 # !include: rss.yml
17 # - size: small
18 # widgets:
19 # !include: releases.yml
20 - name: home
21 columns:
22 - size: small
23 widgets:
24 !include: ccw.yml
25 - size: full
26 widgets:
27 !include: rss.yml
28 - size: small
29 widgets:
30 !include: releases.yml
31
32
33 #!include: social.yml Errors look like this:
Is there anything I'm doing wrong here? All the best, //Tedde |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, don't worry you're not doing anything wrong! Nested includes aren't supported currently. There was a bunch of complexity around getting includes + auto reloads working and I wanted to make sure that those were properly working before adding the additional complexity required to get nested includes working. |
Beta Was this translation helpful? Give feedback.
Hey, don't worry you're not doing anything wrong! Nested includes aren't supported currently. There was a bunch of complexity around getting includes + auto reloads working and I wanted to make sure that those were properly working before adding the additional complexity required to get nested includes working.