mirror of
https://github.com/sstent/node.git
synced 2026-01-27 15:41:43 +00:00
34 lines
726 B
HTML
34 lines
726 B
HTML
<import: src=shared>
|
|
<import: src=home>
|
|
<import: src=liveCss>
|
|
<import: src=tableEditor>
|
|
<import: src=leaderboard>
|
|
<import: src=submit>
|
|
<import: src=bindingsBench>
|
|
|
|
<Title:>
|
|
Derby demo: {{title}}
|
|
|
|
<Header:>
|
|
<body class={{currentPage}}>
|
|
<!-- components are void by default, and should not have a closing tag -->
|
|
<app:shared:alert>
|
|
<!-- if a component is nonvoid, it must have a closing tag -->
|
|
<app:nav>
|
|
{{#each pages}}
|
|
{{#if current}}
|
|
<b>{{text}}</b>
|
|
{{else}}
|
|
<a href={{url}}>{{text}}</a>
|
|
{{/}}
|
|
{{#unless isLast}} | {{/}}
|
|
{{/}}
|
|
</app:nav>
|
|
|
|
<nav: nonvoid>
|
|
<nav>
|
|
<!-- nonvoid components support a special `content` macro -->
|
|
{{{content}}}
|
|
<hr>
|
|
</nav>
|