main page content

This commit is contained in:
Aleksey Chichenkov 2018-10-01 10:40:56 +03:00
parent 12c4995428
commit 27e785d1da
11 changed files with 213 additions and 54 deletions

View file

@ -1,10 +1,12 @@
<?js
var data = obj;
var self = this;
console.log(self.content)
?>
<style>
div#main section {
display: none;
}
</style>
<?js= self.partial('mainpage/each.tmpl', self.content) ?>
@ -12,8 +14,3 @@ console.log(self.content)
<h3><?js= data.name ?> <?js= data.version ?></h3>
<?js } ?>
<?js if (data.readme) { ?>
<section>
<article><?js= data.readme ?></article>
</section>
<?js } ?>