Rocket/examples/handlebars_templates/templates/index.html.hbs

19 lines
346 B
Handlebars
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Handlebars Demo</title>
</head>
<body>
<h1>Hi {{name}}</h1>
<h3>Here are your items:</h3>
<ul>
{{#each items}}
2016-12-23 19:42:57 +00:00
<li>{{this}}</li>
{{/each}}
</ul>
2016-09-30 04:41:21 +00:00
<p>Try going to <a href="/hello/YourName">/hello/YourName</a></p>
</body>
</html>