Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<head>
<title>myapp</title>
</head>
<body>
<h1>Repository Explorer</h1>
<ul>
<li><a href="#">JavaScript</a></li>
<li><a href="#">Ruby</a></li>
<li><a href="#">Go</a></li>
</ul>
{{> repos}}
</body>
<template name="repos">
<h2>Popular {{language}} repositories</h2>
<table>
{{#each repositories}}
<tr>
<td>{{>this.name}}</td>
<td>{{>this.stars}}</td>
<td>{{>this.url}}</td>
</tr>
{{/each}}
</table>
<button>Refresh</button>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment