Mercurial > hg
view mercurial/templates/spartan/graphentry.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 | bb5a03dfd7ff |
children |
line wrap: on
line source
<li class="parity{parity}" data-node="{node|short}"> <div class="fg"> <span class="desc"> <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a> </span> <div class="info"><span class="age">{date|rfc822date}</span>, by {author|person}</div> </div> </li>