sapling/mercurial/templates/spartan
Angel Ezquerra e25f843231 hgweb: apply the websub filter to revision descriptions
In order to use this, add a [websub] section to your configuration and add
websub expressions such as:

italic = s/\b_(\S+)_\b/<i>\1<\/i>/
bold = s/\*\b(\S+)\b\*/<b>\1<\/b>/
issues = s|issue(\d+)|<a href="http://bts.example.org/issue\1">issue\1</a>|i
bugzilla = s!((?:bug|b=|(?=#?\d{4,}))(?:\s*#?)(\d+))!<a href="http://bz.selenic.com/\2">\1</a>!i

This also adds documentation (proofed by Kevin!) to the config help section.
2013-02-09 16:48:21 +01:00
..
branches.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
changelog.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
changelogentry.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
changeset.tmpl hgweb: apply the websub filter to revision descriptions 2013-02-09 16:48:21 +01:00
error.tmpl setup: install translation files as package data 2009-12-01 16:06:10 +01:00
fileannotate.tmpl hgweb: apply the websub filter to revision descriptions 2013-02-09 16:48:21 +01:00
filediff.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
filelog.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
filelogentry.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
filerevision.tmpl hgweb: apply the websub filter to revision descriptions 2013-02-09 16:48:21 +01:00
footer.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
graph.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
header.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
index.tmpl hgweb: add a "URL breadcrumb" to the index and repository pages 2012-11-28 20:21:26 +01:00
manifest.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
map hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
notfound.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
search.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
shortlog.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
shortlogentry.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
tags.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00