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 crategit; 17use crate; 18 19 20pub 23 24/// Template context for the tag list page. 25 26 27 32 33/// Template context for the tag detail page. 34 35 36 47 48/// Renders the full list of tags for a repository, sorted newest first. 49pub async 61 62/// Renders the detail page for a single tag. 63pub async