##// END OF EJS Templates
hgweb: expose list of per-repo labels to templates...
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.
Gregory Szorc -
r29471:c4fc33c4 default
Show More
Name Size Modified Last Commit Author
/ mercurial / help / internals
bundles.txt Loading ...
changegroups.txt Loading ...
requirements.txt Loading ...
revlogs.txt Loading ...