We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is not a bug report but rather a change proposal which I could possibly code/send.
Zola allows to load_data from yaml files (in addition to other formats) and this is a really nice recent addition (thanks!): https://www.getzola.org/documentation/templates/overview/#load-data
load_data
But many YAML files end with *.yml and not *.yaml and Zola does not seem to recognize these as YAML files.
*.yml
*.yaml
Would it make sense to load_data from files/URLs ending with either *.yaml or *.yml via the YAML parser? If yes, I could try to send a patch.
But maybe this already works and I just misunderstood the documentation and/or sources and/or my local testing of a page.
The text was updated successfully, but these errors were encountered:
That's a very simple patch, no issues doing a PR for it.
Sorry, something went wrong.
parse also *.yml file suffix as YAML; closes #1958 (#1959)
86e5b6d
previously only files with *.yaml suffix were recognized as YAML
f61e1ba
No branches or pull requests
This is not a bug report but rather a change proposal which I could possibly code/send.
Zola allows to
load_data
from yaml files (in addition to other formats) and this is a really nice recent addition (thanks!):https://www.getzola.org/documentation/templates/overview/#load-data
But many YAML files end with
*.yml
and not*.yaml
and Zola does not seem to recognize these as YAML files.Would it make sense to
load_data
from files/URLs ending with either*.yaml
or*.yml
via the YAML parser? If yes, I could try to send a patch.But maybe this already works and I just misunderstood the documentation and/or sources and/or my local testing of a page.
The text was updated successfully, but these errors were encountered: