view examples/bench/clearsilver/header.cs @ 688:d8571da25bc5 trunk

The `Stream.render` now accepts an optional `out` parameter that can be used to pass in a writable file-like object to use for assembling the output, instead of building a big string and returning it.
author cmlenz
date Wed, 12 Mar 2008 20:46:34 +0000
parents c40a5dcd2b55
children
line wrap: on
line source
<div id="header">
  <h1><?cs var:title ?></h1>
</div>

<?cs def:greeting(name) ?>
  <p>Hello, <?cs var:name ?>!</p>
<?cs /def ?>
Copyright (C) 2012-2017 Edgewall Software