Closed antoncoding closed 1 year ago
@ChihChengLiang I think it make more sense to have one general --check
flag instead of having multiple flags, it suits better into the current main.rs
flow and serve the purpose well, that's why i added it this way, but lmk what you think.
Current flow:
cargo run
generate the static html site, auto sort the terms, but doesn't panic or auto correct if tag is invalid cargo run -- --check
: panic if order is wrong, + panic if there is an invalid tag
Summary
tags.toml
-- --check
flag is providedDetails
tags.js
andseach.js
filter the table at the same time, that's why we need an extrafiltered
class for each row to compound the effect. for example: If you type something in the search bar and then click on one tag, it only shows you rows fitting the search result + filtered by tag.