Mercurial > hg
view mercurial/templates/spartan/tags.tmpl @ 36988:317382151ac3
templater: rename .render(mapping) to .renderdefault(mapping) (API)
I'm going to add templ.render(t, mapping) and templ.generate(t, mapping) in
place of stringify(templ(t, **mapping)) and templ(t, **mapping) respectively.
.. api::
The ``render(mapping)`` method of the templater has been renamed to
``renderdefault(mapping)``.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 17 Mar 2018 11:23:04 +0900 |
parents | 32f76eccbced |
children |
line wrap: on
line source
{header} <title>{repo|escape}: tags</title> <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}: tags"> <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-tags" title="RSS feed for {repo|escape}: tags"> </head> <body> <div class="buttons"> <a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> <a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> <a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> <a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> <a href="{url|urlescape}file{sessionvars%urlparameter}">files</a> <a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <a type="application/rss+xml" href="{url|urlescape}rss-tags">rss</a> <a type="application/atom+xml" href="{url|urlescape}atom-tags">atom</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / tags</h2> <ul id="tagEntries"> {entries%tagentry} </ul> {footer}