main page content
This commit is contained in:
parent
12c4995428
commit
27e785d1da
11 changed files with 213 additions and 54 deletions
|
@ -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 } ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue