annotate examples/bench/clearsilver/header.cs @ 871:b6deffd8ecce trunk

Allow the use of `i18n:singular` and `i18n:plural` as directives and not just as attributes. If `py:strip` is involved on `i18n:singular` or `i18n:plural` directives, only apply the strip directive once the singular or plural form has been chosen and translated. Fixes #371.
author palgarvio
date Tue, 23 Feb 2010 16:03:26 +0000
parents c40a5dcd2b55
children
rev   line source
57
300b6a3b0730 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
1 <div id="header">
300b6a3b0730 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
2 <h1><?cs var:title ?></h1>
300b6a3b0730 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
3 </div>
69
c40a5dcd2b55 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
4
c40a5dcd2b55 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
5 <?cs def:greeting(name) ?>
c40a5dcd2b55 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
6 <p>Hello, <?cs var:name ?>!</p>
c40a5dcd2b55 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
7 <?cs /def ?>
Copyright (C) 2012-2017 Edgewall Software