sapling/mercurial/templates/json
Gregory Szorc 5255c3f24b hgweb: expose list of per-repo labels to templates
hgweb currently offers limited functionality for "classifying"
repositories. This patch aims to change that.

The web.labels config option list is introduced. Its values
are exposed to the "index" and "summary" templates. Custom
templates can use template features like ifcontains() to e.g.
look for the presence of a specific label and engage specific
behavior. For example, a site operator may wish to assign a
"defunct" label to a repository so the repository is prominently
marked as dead in repository indexes.
2016-06-30 18:59:53 -07:00
..
changelist.tmpl json: implement {shortlog} and {changelog} templates 2015-03-31 22:53:48 -07:00
map hgweb: expose list of per-repo labels to templates 2016-06-30 18:59:53 -07:00