mercurial/templates/rss/filelogentry.tmpl
author Yuya Nishihara <yuya@tcha.org>
Fri, 16 Mar 2018 22:47:15 +0900
changeset 37071 aa97e06a1912
parent 30260 7817df5585db
permissions -rw-r--r--
templater: use template context to render old-style list template Prepares for dropping the 'templ' resource. This means old-style list templates are processed by the same engine class as the one for the list node. I think that's fine since templates for the same list should be tightly coupled, and I believe the extension point for the engine classes isn't actually used. Now templatekw._showlist() is a compatibility wrapper for _showcompatlist(), and will be deprecated soon. The function is still marked as private since I plan to change the interface to get rid of closures capturing context and mapping.

<item>
    <title>{desc|strip|firstline|strip|escape}</title>
    <link>{urlbase}{url|urlescape}log/{node|short}/{file|urlescape}</link>
    <description><![CDATA[{desc|strip|escape|websub|addbreaks|nonempty}]]></description>
    <author>{author|obfuscate}</author>
    <pubDate>{date|rfc822date}</pubDate>
</item>