Designed to set dates on zola pages.
It set's date
and updated
in zola front matter according to the rules listed here.
Rules can also be found in the long help output of the executable --help
.
cargo install zola_chrono
After installing run the following to see the available options
zola_chrono --help
See here for a summary of the rules and a link to the test cases which best document how it works.
To see instructions on setting it up as a pre-push hook see my notes for how I did it for my use case. Used to be a pre-commit but that was more often that I cared for.
All code in this repository is dual-licensed under either:
- Apache License, Version 2.0
- MIT license
at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both as noted in this issue on Bevy's repo.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.