initi.doc/templates/initi/tmpl/mainpage.tmpl

17 lines
274 B
Cheetah

<?js
var data = obj;
var self = this;
?>
<style>
div#main section {
display: none;
}
</style>
<?js= self.partial('mainpage/each.tmpl', self.content) ?>
<?js if (data.kind === 'package') { ?>
<h3><?js= data.name ?> <?js= data.version ?></h3>
<?js } ?>