Use build version in web footer instead of Cargo.toml version
The footer showed v0.1.0 from CARGO_PKG_VERSION. Switched to
QUIRE_VERSION (date + jj change id) to match the CLI/server version.
Assisted-by: GLM-5.1 via pi
diff --git a/src/quire/web/templates.rs b/src/quire/web/templates.rs
index 2e1cf62..0a43a34 100644
--- a/src/quire/web/templates.rs
+++ b/src/quire/web/templates.rs
@@ -4,9 +4,9 @@ use askama::Template;
use super::format;
-/// The package version, exposed to every template for the footer.
+/// The build version, exposed to every template for the footer.
fn pkg_version() -> &'static str {
- env!("CARGO_PKG_VERSION")
+ env!("QUIRE_VERSION")
}
/// A navigation breadcrumb entry.