zola_chrono

Crates.iozola_chrono
lib.rszola_chrono
version0.3.2
sourcesrc
created_at2023-11-08 09:13:19.080603
updated_at2024-04-17 16:54:44.060296
descriptionTool to set dates for zola pages based on git history
homepage
repositoryhttps://github.com/c-git/zola_chrono
max_upload_size
id1028899
size106,311
One (c-git)

documentation

https://docs.rs/zola_chrono

README

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.

Commit count: 139

cargo fmt