##// END OF EJS Templates
hgweb: sort bookmarks early...
hgweb: sort bookmarks early Let's do the same thing that /tags page does. It gets sorted tags and then if it needs the latest only, it just slices the first item from the list. Since it's a slice and not a min(), it doesn't throw an exception if the list is empty. This fixes HTTP 500 error from issue5022.

File last commit:

r18526:9409aeaa stable
r28710:ca0c0ca3 default
Show More
tagentry.tmpl
8 lines | 306 B | application/x-cheetah | CheetahLexer
<entry>
<title>{tag|escape}</title>
<link rel="alternate" href="{urlbase}{url|urlescape}rev/{node|short}"/>
<id>{urlbase}{url|urlescape}#tag-{node}</id>
<updated>{date|rfc3339date}</updated>
<published>{date|rfc3339date}</published>
<content type="text">{tag|strip|escape}</content>
</entry>