zola/components
Kevin Ottens 4754cb5792 Yaml frontmatter (#990)
* Accept dates presented as strings

Still, if we find a string we involve the TOML parser to make sure the
content of said string would be a correct TOML date. In a pure TOML
world this isn't exactly relevant, but this will come in handy when
using a YAML deserializer.

Signed-off-by: Kevin Ottens <ervin@ipsquad.net>

* Add serde_yaml and test-case dependencies

This will be necessary for the YAML frontmatter handling and
corresponding unit tests.

Signed-off-by: Kevin Ottens <ervin@ipsquad.net>

* Add YAML front matter handling

Signed-off-by: Kevin Ottens <ervin@ipsquad.net>

* Switch RawFrontMatter enum to wrap &str instead of String

Signed-off-by: Kevin Ottens <ervin@ipsquad.net>

* Update the documentation to mention YAML frontmatter

This is just a light update on purpose. There would be no point in
pushing YAML too much, this is mainly here to help people with a backlog
of posts to transition.

Signed-off-by: Kevin Ottens <ervin@ipsquad.net>
2020-12-14 20:43:31 +01:00
..
config Enable smart punctuation 2020-12-14 20:43:31 +01:00
errors Fixed unsound errors (#1143) 2020-08-20 19:51:17 +02:00
front_matter Yaml frontmatter (#990) 2020-12-14 20:43:31 +01:00
imageproc Update image to 0.23 2020-02-10 20:48:52 +01:00
library Clippy 2020-12-14 20:43:31 +01:00
link_checker Update changelog 2020-12-14 20:43:31 +01:00
rendering Re-use markdown parser for markdown filter 2020-12-14 20:43:31 +01:00
search Making Chinese and Japanese search indexing optional... (#1115) 2020-08-07 17:03:51 +02:00
site Re-use markdown parser for markdown filter 2020-12-14 20:43:31 +01:00
templates Re-use markdown parser for markdown filter 2020-12-14 20:43:31 +01:00
utils Yaml frontmatter (#990) 2020-12-14 20:43:31 +01:00