- Do you want to request a feature or report a bug?
feature
- What is the current behavior?
You cannot change the location or format of the config.yml - it's hardcoded to 'config.yml' (relative to the CMS location).
- What is the expected behavior?
You should be able to set the config URL by adding a <link> element to the <head> of the CMS page, as follows:
<link href="CONFIG_URL" type="CONFIG_FORMAT" rel="cms-config-url">
For now, we can require the type to be text/yaml or application/x-yaml, and continue to assume YAML format. Eventually, we could allow setting the format by setting the type attribute, and infer the format from the URL extension if there is no type set.
Can I give this a shot?
@brianlmacdonald absolutely - it'd be great if you could tackle this. It should be a pretty simple fix - the place where it's currently hardcoded is linked in the issue above. If you need any help feel free to ask here or on the Gitter channel - thanks for your interest!
Cool, I'll take a look at everything and circle back if I have any questions!
@brianlmacdonald great job on #1146
@tomrutgers issue still valid?
Closing. Thanks @barthc!
Most helpful comment
Can I give this a shot?