zola/docs/content/documentation
Ken "Elf" Mathieu Sternberg 77eb9fef9b
Create pull request/add yaml to load data (#1842)
* Add YAML to formats supported by load_data()

A fairly trivial addition; JSON and YAML are handled so similarly
that this was a matter of copying the JSON-relevant handlers and
editing the copies to handle YAML as well.  The test file was
literally generated with 'json2yaml'.

The documentation has been updated to indicate that load_data() now
handles YAML code.

The CHANGELOG has been updated as well.

* After checking, I found that it's generally agreed the mime type is still application/x-yaml.

* Update comment, unify library importing.

I noticed one more place where the list of formats was supported,
and added YAML to that list.

I noticed that there's a singular place to load the `libs::` crate,
and unified by importing of serde_yaml in that place.
2022-04-29 20:22:02 +02:00
..
content rename extra_highligh_themes to extra_syntaxes_and_themes (#1828) 2022-04-17 19:38:24 +02:00
deployment Update netlify deploy docs 2022-02-15 20:56:38 +01:00
getting-started Make ignored_content work with nested paths and directories (#1738) 2022-02-14 11:08:40 +01:00
templates Create pull request/add yaml to load data (#1842) 2022-04-29 20:22:02 +02:00
themes Back to pest (#1665) 2021-11-23 22:58:51 +01:00
_index.md Update _index.md 2018-03-22 15:47:34 -06:00