Parent
[>]
1//! Route handlers for tag pages. 2//! 3//! Covers two routes: the tag list (`/{repo}/tags`) and the tag detail page 4//! (`/{repo}/tags/{*tag}`). The detail handler peels the tag ref to its 5//! commit and presents a release-oriented view with the annotation message, 6//! commit info, and archive download links. 7 8use Template; 9use WebTemplate; 10use ; 11use IntoResponse; 12use Deserialize; 13 14use crateSiteConfig; 15use crateResult; 16use cratefilters; 17use crategit; 18use crate; 19 20 21pub 24 25/// Template context for the tag list page. 26 27 28 33 34/// Template context for the tag detail page. 35 36 37 48 49/// Renders the full list of tags for a repository, sorted newest first. 50pub async 62 63/// Renders the detail page for a single tag. 64pub async