7 unstable releases
new 0.4.0 | Dec 7, 2024 |
---|---|
0.3.2 | Apr 17, 2024 |
0.3.1 | Feb 20, 2024 |
0.3.0 | Jan 15, 2024 |
0.1.1 | Nov 8, 2023 |
#122 in Date and time
385 downloads per month
39KB
729 lines
zola_chrono
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
.
Install
cargo install zola_chrono
Usage
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.
License
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.
Contribution
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.
Dependencies
~21–34MB
~600K SLoC