zola/components/utils/src
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
..
de.rs Yaml frontmatter (#990) 2020-12-14 20:43:31 +01:00
default_tpl.html Rename all occurrences of gutenberg to zola in code 2018-10-18 22:50:06 +02:00
fs.rs More details on fs errors 2020-12-14 20:43:31 +01:00
lib.rs Format code using cargo fmt (#896) 2020-02-02 17:48:43 -08:00
net.rs Do not attempt to serve on "well-known" ports (#824) 2020-02-02 17:45:16 -08:00
site.rs Multiple slugification strategies (#929) 2020-02-05 09:13:14 +01:00
slugs.rs Replaced all impl Default with derive(Default), where possible (#1141) 2020-08-19 12:25:54 +02:00
templates.rs Make themes more flexible (#1004) 2020-06-18 22:31:03 +02:00
vec.rs Fix colocated dates + rustfmt 2019-02-09 19:54:47 +01:00