spartan: use newer template syntax everywhere
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Fri, 15 May 2009 10:47:13 +0200
changeset 8431 5c1aabc58004
parent 8430 8b47efdf40ee
child 8432 94ef2c8ce683
spartan: use newer template syntax everywhere
templates/spartan/branches.tmpl
templates/spartan/changelog.tmpl
templates/spartan/changelogentry.tmpl
templates/spartan/changeset.tmpl
templates/spartan/error.tmpl
templates/spartan/fileannotate.tmpl
templates/spartan/filediff.tmpl
templates/spartan/filelog.tmpl
templates/spartan/filelogentry.tmpl
templates/spartan/filerevision.tmpl
templates/spartan/footer.tmpl
templates/spartan/graph.tmpl
templates/spartan/header.tmpl
templates/spartan/index.tmpl
templates/spartan/manifest.tmpl
templates/spartan/map
templates/spartan/notfound.tmpl
templates/spartan/search.tmpl
templates/spartan/shortlog.tmpl
templates/spartan/shortlogentry.tmpl
templates/spartan/tags.tmpl
--- a/templates/spartan/branches.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/branches.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,26 +1,26 @@
-#header#
-<title>#repo|escape#: branches</title>
+{header}
+<title>{repo|escape}: branches</title>
 <link rel="alternate" type="application/atom+xml"
-   href="#url#atom-branches" title="Atom feed for #repo|escape#: branches">
+   href="{url}atom-branches" title="Atom feed for {repo|escape}: branches">
 <link rel="alternate" type="application/rss+xml"
-   href="#url#rss-branches" title="RSS feed for #repo|escape#: branches">
+   href="{url}rss-branches" title="RSS feed for {repo|escape}: branches">
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#log{sessionvars%urlparameter}">changelog</a>
-<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a>
-<a href="#url#graph{sessionvars%urlparameter}">graph</a>
-<a href="#url#tags{sessionvars%urlparameter}">tags</a>
-<a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a>
-<a type="application/rss+xml" href="#url#rss-branches">rss</a>
-<a type="application/atom+xml" href="#url#atom-branches">atom</a>
+<a href="{url}log{sessionvars%urlparameter}">changelog</a>
+<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a>
+<a href="{url}graph{sessionvars%urlparameter}">graph</a>
+<a href="{url}tags{sessionvars%urlparameter}">tags</a>
+<a href="{url}file/{node|short}/{sessionvars%urlparameter}">files</a>
+<a type="application/rss+xml" href="{url}rss-branches">rss</a>
+<a type="application/atom+xml" href="{url}atom-branches">atom</a>
 </div>
 
 <h2>branches:</h2>
 
 <ul id="tagEntries">
-#entries%branchentry#
+{entries%branchentry}
 </ul>
 
-#footer#
+{footer}
--- a/templates/spartan/changelog.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/changelog.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,43 +1,43 @@
-#header#
-<title>#repo|escape#: changelog</title>
+{header}
+<title>{repo|escape}: changelog</title>
 <link rel="alternate" type="application/atom+xml"
-   href="#url#atom-log" title="Atom feed for #repo|escape#">
+   href="{url}atom-log" title="Atom feed for {repo|escape}">
 <link rel="alternate" type="application/rss+xml"
-   href="#url#rss-log" title="RSS feed for #repo|escape#">
+   href="{url}rss-log" title="RSS feed for {repo|escape}">
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a>
-<a href="#url#graph{sessionvars%urlparameter}">graph</a>
-<a href="#url#tags{sessionvars%urlparameter}">tags</a>
-<a href="#url#branches{sessionvars%urlparameter}">branches</a>
-<a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a>
-#archives%archiveentry#
-<a type="application/rss+xml" href="#url#rss-log">rss</a>
-<a type="application/atom+xml" href="#url#atom-log" title="Atom feed for #repo|escape#">atom</a>
+<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a>
+<a href="{url}graph{sessionvars%urlparameter}">graph</a>
+<a href="{url}tags{sessionvars%urlparameter}">tags</a>
+<a href="{url}branches{sessionvars%urlparameter}">branches</a>
+<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
+{archives%archiveentry}
+<a type="application/rss+xml" href="{url}rss-log">rss</a>
+<a type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}">atom</a>
 </div>
 
-<h2>changelog for #repo|escape#</h2>
+<h2>changelog for {repo|escape}</h2>
 
-<form action="#url#log">
+<form action="{url}log">
 {sessionvars%hiddenformentry}
 <p>
 <label for="search1">search:</label>
 <input name="rev" id="search1" type="text" size="30">
-navigate: <small class="navigate">#changenav%naventry#</small>
+navigate: <small class="navigate">{changenav%naventry}</small>
 </p>
 </form>
 
-#entries%changelogentry#
+{entries%changelogentry}
 
-<form action="#url#log">
+<form action="{url}log">
 {sessionvars%hiddenformentry}
 <p>
 <label for="search2">search:</label>
 <input name="rev" id="search2" type="text" size="30">
-navigate: <small class="navigate">#changenav%naventry#</small>
+navigate: <small class="navigate">{changenav%naventry}</small>
 </p>
 </form>
 
-#footer#
+{footer}
--- a/templates/spartan/changelogentry.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/changelogentry.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,25 +1,25 @@
-<table class="logEntry parity#parity#">
+<table class="logEntry parity{parity}">
  <tr>
-  <th class="age">#date|age# ago:</th>
-  <th class="firstline">#desc|strip|firstline|escape|nonempty#</th>
+  <th class="age">{date|age} ago:</th>
+  <th class="firstline">{desc|strip|firstline|escape|nonempty}</th>
  </tr>
  <tr>
-  <th class="revision">changeset #rev#:</th>
-  <td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td>
+  <th class="revision">changeset {rev}:</th>
+  <td class="node"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
  </tr>
- #parent%changelogparent#
- #child%changelogchild#
- #changelogtag#
+ {parent%changelogparent}
+ {child%changelogchild}
+ {changelogtag}
  <tr>
   <th class="author">author:</th>
-  <td class="author">#author|obfuscate#</td>
+  <td class="author">{author|obfuscate}</td>
  </tr>
  <tr>
   <th class="date">date:</th>
-  <td class="date">#date|date#</td>
+  <td class="date">{date|date}</td>
  </tr>
  <tr>
-  <th class="files"><a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a>:</th>
-  <td class="files">#files#</td>
+  <th class="files"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>:</th>
+  <td class="files">{files}</td>
  </tr>
 </table>
--- a/templates/spartan/changeset.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/changeset.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,51 +1,51 @@
-#header#
-<title>#repo|escape#: changeset #node|short#</title>
+{header}
+<title>{repo|escape}: changeset {node|short}</title>
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a>
-<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a>
-<a href="#url#graph{sessionvars%urlparameter}">graph</a>
-<a href="#url#tags{sessionvars%urlparameter}">tags</a>
-<a href="#url#branches{sessionvars%urlparameter}">branches</a>
-<a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a>
-<a href="#url#raw-rev/#node|short#">raw</a>
-#archives%archiveentry#
+<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a>
+<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a>
+<a href="{url}graph{sessionvars%urlparameter}">graph</a>
+<a href="{url}tags{sessionvars%urlparameter}">tags</a>
+<a href="{url}branches{sessionvars%urlparameter}">branches</a>
+<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
+<a href="{url}raw-rev/{node|short}">raw</a>
+{archives%archiveentry}
 </div>
 
-<h2>changeset: #desc|strip|escape|firstline|nonempty#</h2>
+<h2>changeset: {desc|strip|escape|firstline|nonempty}</h2>
 
 <table id="changesetEntry">
 <tr>
- <th class="changeset">changeset #rev#:</th>
- <td class="changeset"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td>
+ <th class="changeset">changeset {rev}:</th>
+ <td class="changeset"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
 </tr>
-#parent%changesetparent#
-#child%changesetchild#
-#changesettag#
+{parent%changesetparent}
+{child%changesetchild}
+{changesettag}
 <tr>
  <th class="author">author:</th>
- <td class="author">#author|obfuscate#</td>
+ <td class="author">{author|obfuscate}</td>
 </tr>
 <tr>
  <th class="date">date:</th>
- <td class="date">#date|date# (#date|age# ago)</td>
+ <td class="date">{date|date} ({date|age} ago)</td>
 </tr>
 <tr>
  <th class="files">files:</th>
- <td class="files">#files#</td>
+ <td class="files">{files}</td>
 </tr>
 <tr>
  <th class="description">description:</th>
- <td class="description">#desc|strip|escape|addbreaks|nonempty#</td>
+ <td class="description">{desc|strip|escape|addbreaks|nonempty}</td>
 </tr>
 </table>
 
 <div id="changesetDiff">
-#diff#
+{diff}
 </div>
 
-#footer#
+{footer}
 
 
--- a/templates/spartan/error.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/error.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,4 +1,4 @@
-#header#
+{header}
 <title>Mercurial Error</title>
 </head>
 <body>
@@ -9,7 +9,7 @@
 An error occurred while processing your request:
 </p>
 <p>
-#error|escape#
+{error|escape}
 </p>
 
-#footer#
+{footer}
--- a/templates/spartan/fileannotate.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/fileannotate.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,39 +1,39 @@
-#header#
-<title>#repo|escape#: #file|escape# annotate</title>
+{header}
+<title>{repo|escape}: {file|escape} annotate</title>
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a>
-<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a>
-<a href="#url#graph{sessionvars%urlparameter}">graph</a>
-<a href="#url#tags{sessionvars%urlparameter}">tags</a>
-<a href="#url#branches{sessionvars%urlparameter}">branches</a>
-<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a>
-<a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a>
-<a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a>
-<a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a>
-<a href="#url#raw-annotate/#node|short#/#file|urlescape#">raw</a>
+<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a>
+<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a>
+<a href="{url}graph{sessionvars%urlparameter}">graph</a>
+<a href="{url}tags{sessionvars%urlparameter}">tags</a>
+<a href="{url}branches{sessionvars%urlparameter}">branches</a>
+<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
+<a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a>
+<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a>
+<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
+<a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a>
 </div>
 
-<h2>Annotate #file|escape#</h2>
+<h2>Annotate {file|escape}</h2>
 
 <table>
 <tr>
- <td class="metatag">changeset #rev#:</td>
- <td><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>
-#parent%fileannotateparent#
-#child%fileannotatechild#
+ <td class="metatag">changeset {rev}:</td>
+ <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>
+{parent%fileannotateparent}
+{child%fileannotatechild}
 <tr>
  <td class="metatag">author:</td>
- <td>#author|obfuscate#</td></tr>
+ <td>{author|obfuscate}</td></tr>
 <tr>
  <td class="metatag">date:</td>
- <td>#date|date# (#date|age# ago)</td>
+ <td>{date|date} ({date|age} ago)</td>
 </tr>
 <tr>
  <td class="metatag">permissions:</td>
- <td>#permissions|permissions#</td>
+ <td>{permissions|permissions}</td>
 </tr>
 <tr>
   <td class="metatag">description:</td>
@@ -44,7 +44,7 @@
 <br/>
 
 <table cellspacing="0" cellpadding="0">
-#annotate%annotateline#
+{annotate%annotateline}
 </table>
 
-#footer#
+{footer}
--- a/templates/spartan/filediff.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/filediff.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,36 +1,36 @@
-#header#
-<title>#repo|escape#: #file|escape# diff</title>
+{header}
+<title>{repo|escape}: {file|escape} diff</title>
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a>
-<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a>
-<a href="#url#graph{sessionvars%urlparameter}">graph</a>
-<a href="#url#tags{sessionvars%urlparameter}">tags</a>
-<a href="#url#branches{sessionvars%urlparameter}">branches</a>
-<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a>
-<a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a>
-<a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a>
-<a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a>
-<a href="#url#raw-diff/#node|short#/#file|urlescape#">raw</a>
+<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a>
+<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a>
+<a href="{url}graph{sessionvars%urlparameter}">graph</a>
+<a href="{url}tags{sessionvars%urlparameter}">tags</a>
+<a href="{url}branches{sessionvars%urlparameter}">branches</a>
+<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
+<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a>
+<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
+<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
+<a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a>
 </div>
 
-<h2>#file|escape#</h2>
+<h2>{file|escape}</h2>
 
 <table id="filediffEntry">
 <tr>
- <th class="revision">revision #rev#:</th>
- <td class="revision"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td>
+ <th class="revision">revision {rev}:</th>
+ <td class="revision"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
 </tr>
-#parent%filediffparent#
-#child%filediffchild#
+{parent%filediffparent}
+{child%filediffchild}
 </table>
 
 <div id="fileDiff">
-#diff#
+{diff}
 </div>
 
-#footer#
+{footer}
 
 
--- a/templates/spartan/filelog.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/filelog.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,28 +1,28 @@
-#header#
-<title>#repo|escape#: #file|escape# history</title>
+{header}
+<title>{repo|escape}: {file|escape} history</title>
 <link rel="alternate" type="application/atom+xml"
-   href="#url#atom-log/tip/#file|urlescape#" title="Atom feed for #repo|escape#:#file#">
+   href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}">
 <link rel="alternate" type="application/rss+xml"
-   href="#url#rss-log/tip/#file|urlescape#" title="RSS feed for #repo|escape#:#file#">
+   href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}">
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#log{sessionvars%urlparameter}">changelog</a>
-<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a>
-<a href="#url#graph{sessionvars%urlparameter}">graph</a>
-<a href="#url#tags{sessionvars%urlparameter}">tags</a>
-<a href="#url#branches{sessionvars%urlparameter}">branches</a>
-<a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a>
-<a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a>
-<a type="application/rss+xml" href="#url#rss-log/tip/#file|urlescape#">rss</a>
-<a type="application/atom+xml" href="#url#atom-log/tip/#file|urlescape#" title="Atom feed for #repo|escape#:#file#">atom</a>
+<a href="{url}log{sessionvars%urlparameter}">changelog</a>
+<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a>
+<a href="{url}graph{sessionvars%urlparameter}">graph</a>
+<a href="{url}tags{sessionvars%urlparameter}">tags</a>
+<a href="{url}branches{sessionvars%urlparameter}">branches</a>
+<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a>
+<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
+<a type="application/rss+xml" href="{url}rss-log/tip/{file|urlescape}">rss</a>
+<a type="application/atom+xml" href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}">atom</a>
 </div>
 
-<h2>#file|escape# revision history</h2>
+<h2>{file|escape} revision history</h2>
 
 <p>navigate: <small class="navigate">{nav%filenaventry}</small></p>
 
-#entries%filelogentry#
+{entries%filelogentry}
 
-#footer#
+{footer}
--- a/templates/spartan/filelogentry.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/filelogentry.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,24 +1,24 @@
-<table class="logEntry parity#parity#">
+<table class="logEntry parity{parity}">
  <tr>
-  <th class="age">#date|age# ago:</th>
-  <th class="firstline"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape|nonempty#</a></th>
+  <th class="age">{date|age} ago:</th>
+  <th class="firstline"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></th>
  </tr>
  <tr>
-  <th class="revision">revision #filerev#:</td>
+  <th class="revision">revision {filerev}:</td>
   <td class="node">
-   <a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a>
-   <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">(diff)</a>
-   <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">(annotate)</a>
+   <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
+   <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(diff)</a>
+   <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(annotate)</a>
   </td>
  </tr>
- #rename%filelogrename#
+ {rename%filelogrename}
  <tr>
   <th class="author">author:</th>
-  <td class="author">#author|obfuscate#</td>
+  <td class="author">{author|obfuscate}</td>
  </tr>
  <tr>
   <th class="date">date:</th>
-  <td class="date">#date|date#</td>
+  <td class="date">{date|date}</td>
  </tr>
 </table>
 
--- a/templates/spartan/filerevision.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/filerevision.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,38 +1,38 @@
-#header#
-<title>#repo|escape#:#file|escape#</title>
+{header}
+<title>{repo|escape}:{file|escape}</title>
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a>
-<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a>
-<a href="#url#graph{sessionvars%urlparameter}">graph</a>
-<a href="#url#tags{sessionvars%urlparameter}">tags</a>
-<a href="#url#branches{sessionvars%urlparameter}">branches</a>
-<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a>
-<a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a>
-<a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a>
-<a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a>
-<a href="#url#raw-file/#node|short#/#file|urlescape#">raw</a>
+<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a>
+<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a>
+<a href="{url}graph{sessionvars%urlparameter}">graph</a>
+<a href="{url}tags{sessionvars%urlparameter}">tags</a>
+<a href="{url}branches{sessionvars%urlparameter}">branches</a>
+<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
+<a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a>
+<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
+<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
+<a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a>
 </div>
 
-<h2>#file|escape#</h2>
+<h2>{file|escape}</h2>
 
 <table>
 <tr>
- <td class="metatag">changeset #rev#:</td>
- <td><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>
-#parent%filerevparent#
-#child%filerevchild#
+ <td class="metatag">changeset {rev}:</td>
+ <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>
+{parent%filerevparent}
+{child%filerevchild}
 <tr>
  <td class="metatag">author:</td>
- <td>#author|obfuscate#</td></tr>
+ <td>{author|obfuscate}</td></tr>
 <tr>
  <td class="metatag">date:</td>
- <td>#date|date# (#date|age# ago)</td></tr>
+ <td>{date|date} ({date|age} ago)</td></tr>
 <tr>
  <td class="metatag">permissions:</td>
- <td>#permissions|permissions#</td></tr>
+ <td>{permissions|permissions}</td></tr>
 <tr>
   <td class="metatag">description:</td>
   <td>{desc|strip|escape|addbreaks|nonempty}</td>
@@ -40,7 +40,7 @@
 </table>
 
 <pre>
-#text%fileline#
+{text%fileline}
 </pre>
 
-#footer#
+{footer}
--- a/templates/spartan/footer.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/footer.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,7 +1,7 @@
-#motd#
+{motd}
 <div class="logo">
 <a href="http://www.selenic.com/mercurial/">
-<img src="#staticurl#hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
+<img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 
 </body>
--- a/templates/spartan/graph.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/graph.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,29 +1,29 @@
-#header#
-<title>#repo|escape#: graph</title>
+{header}
+<title>{repo|escape}: graph</title>
 <link rel="alternate" type="application/atom+xml"
-   href="#url#atom-tags" title="Atom feed for #repo|escape#: tags">
+   href="{url}atom-tags" title="Atom feed for {repo|escape}: tags">
 <link rel="alternate" type="application/rss+xml"
-   href="#url#rss-tags" title="RSS feed for #repo|escape#: tags">
-<!--[if IE]><script type="text/javascript" src="#staticurl#excanvas.js"></script><![endif]-->
+   href="{url}rss-tags" title="RSS feed for {repo|escape}: tags">
+<!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]-->
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#log{sessionvars%urlparameter}">changelog</a>
-<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a>
-<a href="#url#tags{sessionvars%urlparameter}">tags</a>
-<a href="#url#branches{sessionvars%urlparameter}">branches</a>
-<a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a>
+<a href="{url}log{sessionvars%urlparameter}">changelog</a>
+<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a>
+<a href="{url}tags{sessionvars%urlparameter}">tags</a>
+<a href="{url}branches{sessionvars%urlparameter}">branches</a>
+<a href="{url}file/{node|short}/{sessionvars%urlparameter}">files</a>
 </div>
 
 <h2>graph</h2>
 
-<form action="#url#log">
+<form action="{url}log">
 {sessionvars%hiddenformentry}
 <p>
 <label for="search1">search:</label>
 <input name="rev" id="search1" type="text" size="30">
-navigate: <small class="navigate">#changenav%navgraphentry#</small>
+navigate: <small class="navigate">{changenav%navgraphentry}</small>
 </p>
 </form>
 
@@ -31,11 +31,11 @@
 
 <div id="wrapper">
 <ul id="nodebgs"></ul>
-<canvas id="graph" width="224" height="#canvasheight#"></canvas>
+<canvas id="graph" width="224" height="{canvasheight}"></canvas>
 <ul id="graphnodes"></ul>
 </div>
 
-<script type="text/javascript" src="#staticurl#graph.js"></script>
+<script type="text/javascript" src="{staticurl}graph.js"></script>
 <script type="text/javascript">
 <!-- hide script content
 
@@ -84,13 +84,13 @@
 // stop hiding script -->
 </script>
 
-<form action="#url#log">
+<form action="{url}log">
 {sessionvars%hiddenformentry}
 <p>
 <label for="search1">search:</label>
 <input name="rev" id="search1" type="text" size="30">
-navigate: <small class="navigate">#changenav%navgraphentry#</small>
+navigate: <small class="navigate">{changenav%navgraphentry}</small>
 </p>
 </form>
 
-#footer#
+{footer}
--- a/templates/spartan/header.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/header.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,6 +1,6 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
-<link rel="icon" href="#staticurl#hgicon.png" type="image/png">
+<link rel="icon" href="{staticurl}hgicon.png" type="image/png">
 <meta name="robots" content="index, nofollow" />
-<link rel="stylesheet" href="#staticurl#style.css" type="text/css" />
+<link rel="stylesheet" href="{staticurl}style.css" type="text/css" />
--- a/templates/spartan/index.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/index.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,4 +1,4 @@
-#header#
+{header}
 <title>Mercurial repositories index</title>
 </head>
 <body>
@@ -7,13 +7,13 @@
 
 <table>
     <tr>
-        <td><a href="?sort=#sort_name#">Name</a></td>
-        <td><a href="?sort=#sort_description#">Description</a></td>
-        <td><a href="?sort=#sort_contact#">Contact</a></td>
-        <td><a href="?sort=#sort_lastchange#">Last change</a></td>
+        <td><a href="?sort={sort_name}">Name</a></td>
+        <td><a href="?sort={sort_description}">Description</a></td>
+        <td><a href="?sort={sort_contact}">Contact</a></td>
+        <td><a href="?sort={sort_lastchange}">Last change</a></td>
         <td>&nbsp;</td>
     </tr>
-    #entries%indexentry#
+    {entries%indexentry}
 </table>
 
-#footer#
+{footer}
--- a/templates/spartan/manifest.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/manifest.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,28 +1,28 @@
-#header#
-<title>#repo|escape#: files for changeset #node|short#</title>
+{header}
+<title>{repo|escape}: files for changeset {node|short}</title>
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a>
-<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a>
-<a href="#url#graph{sessionvars%urlparameter}">graph</a>
-<a href="#url#tags{sessionvars%urlparameter}">tags</a>
-<a href="#url#branches{sessionvars%urlparameter}">branches</a>
-<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a>
-#archives%archiveentry#
+<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a>
+<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a>
+<a href="{url}graph{sessionvars%urlparameter}">graph</a>
+<a href="{url}tags{sessionvars%urlparameter}">tags</a>
+<a href="{url}branches{sessionvars%urlparameter}">branches</a>
+<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
+{archives%archiveentry}
 </div>
 
-<h2>files for changeset #node|short#: #path|escape#</h2>
+<h2>files for changeset {node|short}: {path|escape}</h2>
 
 <table cellpadding="0" cellspacing="0">
-<tr class="parity#upparity#">
+<tr class="parity{upparity}">
   <td><tt>drwxr-xr-x</tt>&nbsp;
   <td>&nbsp;
   <td>&nbsp;
-  <td><a href="#url#file/#node|short##up|urlescape#{sessionvars%urlparameter}">[up]</a>
+  <td><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a>
 </tr>
-#dentries%direntry#
-#fentries%fileentry#
+{dentries%direntry}
+{fentries%fileentry}
 </table>
-#footer#
+{footer}
--- a/templates/spartan/map	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/map	Fri May 15 10:47:13 2009 +0200
@@ -11,8 +11,8 @@
 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
-filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> '
-filenodelink = '<a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> '
+filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
+filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
 filenolink = '{file|escape} '
 fileellipses = '...'
 changelogentry = changelogentry.tmpl
@@ -21,55 +21,55 @@
 manifest = manifest.tmpl
 
 direntry = '
-  <tr class="parity#parity#">
+  <tr class="parity{parity}">
     <td><tt>drwxr-xr-x</tt>&nbsp;
     <td>&nbsp;
     <td>&nbsp;
     <td>
-      <a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">#basename|escape#/</a>
-      <a href="#url#file/#node|short##path|urlescape#/#emptydirs|urlescape#{sessionvars%urlparameter}">
-        #emptydirs|urlescape#
+      <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}/</a>
+      <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">
+        {emptydirs|urlescape}
       </a>'
 
 fileentry = '
-  <tr class="parity#parity#">
-    <td><tt>#permissions|permissions#</tt>&nbsp;
-    <td align=right><tt class="date">#date|isodate#</tt>&nbsp;
-    <td align=right><tt>#size#</tt>&nbsp;
-    <td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a>'
+  <tr class="parity{parity}">
+    <td><tt>{permissions|permissions}</tt>&nbsp;
+    <td align=right><tt class="date">{date|isodate}</tt>&nbsp;
+    <td align=right><tt>{size}</tt>&nbsp;
+    <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a>'
 
 filerevision = filerevision.tmpl
 fileannotate = fileannotate.tmpl
 filediff = filediff.tmpl
 filelog = filelog.tmpl
-fileline = '<div class="parity#parity#"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</div>'
+fileline = '<div class="parity{parity}"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</div>'
 filelogentry = filelogentry.tmpl
 annotateline = '
-  <tr class="parity#parity#">
+  <tr class="parity{parity}">
     <td class="annotate">
-      <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}#l{targetline}"
-         title="{node|short}: {desc|escape|firstline}">#author|user#@#rev#</a>
+      <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"
+         title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
     </td>
     <td>
-      <a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>
+      <a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>
     </td>
-    <td><pre>#line|escape#</pre></td>
+    <td><pre>{line|escape}</pre></td>
   </tr>'
-difflineplus = '<span class="plusline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>'
-difflineminus = '<span class="minusline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>'
-difflineat = '<span class="atline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>'
-diffline = '<a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#'
+difflineplus = '<span class="plusline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>'
+difflineminus = '<span class="minusline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>'
+difflineat = '<span class="atline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>'
+diffline = '<a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}'
 changelogparent = '
   <tr>
-    <th class="parent">parent #rev#:</th>
+    <th class="parent">parent {rev}:</th>
     <td class="parent">
-      <a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a>
+      <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
     </td>
   </tr>'
 changesetparent = '
   <tr>
-    <th class="parent">parent #rev#:</th>
-    <td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td>
+    <th class="parent">parent {rev}:</th>
+    <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
   </tr>'
 filerevparent = '
   <tr>
@@ -85,8 +85,8 @@
   <tr>
     <th>base:</th>
     <td>
-      <a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">
-        #file|escape#@#node|short#
+      <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
+        {file|escape}@{node|short}
       </a>
     </td>
   </tr>'
@@ -101,74 +101,74 @@
   </tr>'
 changesetchild = '
   <tr>
-    <th class="child">child #rev#:</th>
-    <td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td>
+    <th class="child">child {rev}:</th>
+    <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
   </tr>'
 changelogchild = '
   <tr>
-    <th class="child">child #rev#:</th>
-    <td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td>
+    <th class="child">child {rev}:</th>
+    <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
   </tr>'
 filerevchild = '
   <tr>
     <td class="metatag">child:</td>
-    <td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td>
+    <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
   </tr>'
 fileannotatechild = '
   <tr>
     <td class="metatag">child:</td>
-    <td><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td>
+    <td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
   </tr>'
 tags = tags.tmpl
 tagentry = '
-  <li class="tagEntry parity#parity#">
-    <tt class="node">#node#</tt>
-    <a href="#url#rev/#node|short#{sessionvars%urlparameter}">#tag|escape#</a>
+  <li class="tagEntry parity{parity}">
+    <tt class="node">{node}</tt>
+    <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a>
   </li>'
 branches = branches.tmpl
 branchentry = '
-  <li class="tagEntry parity#parity#">
-    <tt class="node">#node#</tt>
-    <a href="#url#shortlog/#node|short#{sessionvars%urlparameter}">#branch|escape#</a>
+  <li class="tagEntry parity{parity}">
+    <tt class="node">{node}</tt>
+    <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{branch|escape}</a>
   </li>'
-diffblock = '<pre class="parity#parity#">#lines#</pre>'
-changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
-changesettag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
+diffblock = '<pre class="parity{parity}">{lines}</pre>'
+changelogtag = '<tr><th class="tag">tag:</th><td class="tag">{tag|escape}</td></tr>'
+changesettag = '<tr><th class="tag">tag:</th><td class="tag">{tag|escape}</td></tr>'
 filediffparent = '
   <tr>
-    <th class="parent">parent #rev#:</th>
-    <td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td>
+    <th class="parent">parent {rev}:</th>
+    <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
   </tr>'
 filelogparent = '
   <tr>
-    <th>parent #rev#:</th>
-    <td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td>
+    <th>parent {rev}:</th>
+    <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
   </tr>'
 filediffchild = '
   <tr>
-    <th class="child">child #rev#:</th>
-    <td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td>
+    <th class="child">child {rev}:</th>
+    <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
   </tr>'
 filelogchild = '
   <tr>
-    <th>child #rev#:</th>
-    <td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td>
+    <th>child {rev}:</th>
+    <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
   </tr>'
 indexentry = '
-  <tr class="parity#parity#">
-    <td><a href="#url#{sessionvars%urlparameter}">#name|escape#</a></td>
-    <td>#description#</td>
-    <td>#contact|obfuscate#</td>
-    <td class="age">#lastchange|age# ago</td>
+  <tr class="parity{parity}">
+    <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
+    <td>{description}</td>
+    <td>{contact|obfuscate}</td>
+    <td class="age">{lastchange|age} ago</td>
     <td class="indexlinks">
-      <a href="#url#rss-log">RSS</a>
-      <a href="#url#atom-log">Atom</a>
-      #archives%archiveentry#
+      <a href="{url}rss-log">RSS</a>
+      <a href="{url}atom-log">Atom</a>
+      {archives%archiveentry}
     </td>
   </tr>'
 index = index.tmpl
-archiveentry = '<a href="#url#archive/#node|short##extension|urlescape#">#type|escape#</a> '
+archiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a> '
 notfound = notfound.tmpl
 error = error.tmpl
-urlparameter = '#separator##name#=#value|urlescape#'
-hiddenformentry = '<input type="hidden" name="#name#" value="#value|escape#" />'
+urlparameter = '{separator}{name}={value|urlescape}'
+hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
--- a/templates/spartan/notfound.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/notfound.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,12 +1,12 @@
-#header#
+{header}
 <title>Mercurial repository not found</title>
 </head>
 <body>
 
 <h2>Mercurial repository not found</h2>
 
-The specified repository "#repo|escape#" is unknown, sorry.
+The specified repository "{repo|escape}" is unknown, sorry.
 
 Please go back to the main repository list page.
 
-#footer#
+{footer}
--- a/templates/spartan/search.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/search.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,36 +1,36 @@
-#header#
-<title>#repo|escape#: searching for #query|escape#</title>
+{header}
+<title>{repo|escape}: searching for {query|escape}</title>
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#log{sessionvars%urlparameter}">changelog</a>
-<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a>
-<a href="#url#graph{sessionvars%urlparameter}">graph</a>
-<a href="#url#tags{sessionvars%urlparameter}">tags</a>
-<a href="#url#branches{sessionvars%urlparameter}">branches</a>
-<a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a>
-#archives%archiveentry#
+<a href="{url}log{sessionvars%urlparameter}">changelog</a>
+<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a>
+<a href="{url}graph{sessionvars%urlparameter}">graph</a>
+<a href="{url}tags{sessionvars%urlparameter}">tags</a>
+<a href="{url}branches{sessionvars%urlparameter}">branches</a>
+<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
+{archives%archiveentry}
 </div>
 
-<h2>searching for #query|escape#</h2>
+<h2>searching for {query|escape}</h2>
 
 <form>
 {sessionvars%hiddenformentry}
 <p>
 search:
-<input name="rev" type="text" width="30" value="#query|escape#">
+<input name="rev" type="text" width="30" value="{query|escape}">
 </p>
 </form>
 
-#entries#
+{entries}
 
 <form>
 {sessionvars%hiddenformentry}
 <p>
 search:
-<input name="rev" type="text" width="30" value="#query|escape#">
+<input name="rev" type="text" width="30" value="{query|escape}">
 </p>
 </form>
 
-#footer#
+{footer}
--- a/templates/spartan/shortlog.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/shortlog.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,43 +1,43 @@
-#header#
-<title>#repo|escape#: shortlog</title>
+{header}
+<title>{repo|escape}: shortlog</title>
 <link rel="alternate" type="application/atom+xml"
-   href="#url#atom-log" title="Atom feed for #repo|escape#">
+   href="{url}atom-log" title="Atom feed for {repo|escape}">
 <link rel="alternate" type="application/rss+xml"
-   href="#url#rss-log" title="RSS feed for #repo|escape#">
+   href="{url}rss-log" title="RSS feed for {repo|escape}">
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a>
-<a href="#url#graph{sessionvars%urlparameter}">graph</a>
-<a href="#url#tags{sessionvars%urlparameter}">tags</a>
-<a href="#url#branches{sessionvars%urlparameter}">branches</a>
-<a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a>
-#archives%archiveentry#
-<a type="application/rss+xml" href="#url#rss-log">rss</a>
-<a type="application/rss+xml" href="#url#atom-log" title="Atom feed for #repo|escape#">atom</a>
+<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a>
+<a href="{url}graph{sessionvars%urlparameter}">graph</a>
+<a href="{url}tags{sessionvars%urlparameter}">tags</a>
+<a href="{url}branches{sessionvars%urlparameter}">branches</a>
+<a href="{url}file/{node|short}/{sessionvars%urlparameter}">files</a>
+{archives%archiveentry}
+<a type="application/rss+xml" href="{url}rss-log">rss</a>
+<a type="application/rss+xml" href="{url}atom-log" title="Atom feed for {repo|escape}">atom</a>
 </div>
 
-<h2>shortlog for #repo|escape#</h2>
+<h2>shortlog for {repo|escape}</h2>
 
-<form action="#url#log">
+<form action="{url}log">
 {sessionvars%hiddenformentry}
 <p>
 <label for="search1">search:</label>
 <input name="rev" id="search1" type="text" size="30">
-navigate: <small class="navigate">#changenav%navshortentry#</small>
+navigate: <small class="navigate">{changenav%navshortentry}</small>
 </p>
 </form>
 
-#entries%shortlogentry#
+{entries%shortlogentry}
 
-<form action="#url#log">
+<form action="{url}log">
 {sessionvars%hiddenformentry}
 <p>
 <label for="search2">search:</label>
 <input name="rev" id="search2" type="text" size="30">
-navigate: <small class="navigate">#changenav%navshortentry#</small>
+navigate: <small class="navigate">{changenav%navshortentry}</small>
 </p>
 </form>
 
-#footer#
+{footer}
--- a/templates/spartan/shortlogentry.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/shortlogentry.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,7 +1,7 @@
-<table class="slogEntry parity#parity#">
+<table class="slogEntry parity{parity}">
  <tr>
-  <td class="age">#date|age#</td>
-  <td class="author">#author|person#</td>
-  <td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape|nonempty#</a></td>
+  <td class="age">{date|age}</td>
+  <td class="author">{author|person}</td>
+  <td class="node"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td>
  </tr>
 </table>
--- a/templates/spartan/tags.tmpl	Fri May 15 10:47:05 2009 +0200
+++ b/templates/spartan/tags.tmpl	Fri May 15 10:47:13 2009 +0200
@@ -1,26 +1,26 @@
-#header#
-<title>#repo|escape#: tags</title>
+{header}
+<title>{repo|escape}: tags</title>
 <link rel="alternate" type="application/atom+xml"
-   href="#url#atom-tags" title="Atom feed for #repo|escape#: tags">
+   href="{url}atom-tags" title="Atom feed for {repo|escape}: tags">
 <link rel="alternate" type="application/rss+xml"
-   href="#url#rss-tags" title="RSS feed for #repo|escape#: tags">
+   href="{url}rss-tags" title="RSS feed for {repo|escape}: tags">
 </head>
 <body>
 
 <div class="buttons">
-<a href="#url#log{sessionvars%urlparameter}">changelog</a>
-<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a>
-<a href="#url#graph{sessionvars%urlparameter}">graph</a>
-<a href="#url#branches{sessionvars%urlparameter}">branches</a>
-<a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a>
-<a type="application/rss+xml" href="#url#rss-tags">rss</a>
-<a type="application/atom+xml" href="#url#atom-tags">atom</a>
+<a href="{url}log{sessionvars%urlparameter}">changelog</a>
+<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a>
+<a href="{url}graph{sessionvars%urlparameter}">graph</a>
+<a href="{url}branches{sessionvars%urlparameter}">branches</a>
+<a href="{url}file/{node|short}/{sessionvars%urlparameter}">files</a>
+<a type="application/rss+xml" href="{url}rss-tags">rss</a>
+<a type="application/atom+xml" href="{url}atom-tags">atom</a>
 </div>
 
 <h2>tags:</h2>
 
 <ul id="tagEntries">
-#entries%tagentry#
+{entries%tagentry}
 </ul>
 
-#footer#
+{footer}