-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting config URL with link element in head #1132
Comments
link
element in header
link
element in header
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! |
- 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:For now, we can require the
type
to betext/yaml
orapplication/x-yaml
, and continue to assume YAML format. Eventually, we could allow setting the format by setting thetype
attribute, and infer the format from the URL extension if there is notype
set.The text was updated successfully, but these errors were encountered: