Allow setting page partial from a file using YAML format #1106
mmawhinney
started this conversation in
Ideas
Replies: 2 comments
-
Hi, @mmawhinney Support referencing the template from a file similar to the directory format in YAML; it can be a breaking change for some users. This feature can be supported in the next major version releases. Thanks for your input for making this better! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, @mmawhinney |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Description
I'd previously been managing a partial for my signup page using the Management API. I see that the CLI now supports managing partials. After exporting my current settings, I noticed that the raw template gets dumped in the
tenant.yml
file, eg:From what I've been able to find, the directory format supports referencing the template from a file, eg:
But attempting to use a similar structure in the
tenant.yml
causes failures on import due to not being a valid schema.Expectation
It would be great to have support for referencing a template file in YAML as managing the template directly in the
tenant.yml
file is messy once you have more than a couple lines of HTML.Reproduction
tenant.yml
instead of a fileDeploy CLI version
8.4.1
Node version
18.19.0
Beta Was this translation helpful? Give feedback.
All reactions