mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-29 05:42:35 +00:00
20 lines
385 B
Handlebars
20 lines
385 B
Handlebars
{{#*inline "page"}}
|
|
|
|
<section id="hello">
|
|
<h1>Hi {{ name }}!</h1>
|
|
<h3>Here are your items:</h3>
|
|
<ul>
|
|
{{#each items}}
|
|
<li>{{ this }}</li>
|
|
{{/each}}
|
|
</ul>
|
|
</section>
|
|
|
|
<section id="custom-helper">
|
|
<p>Try going to <a href="/hello/YourName">/hello/YourName</a>.</p>
|
|
<p>Also, check {{ wow "this" }} (custom helper) out!</p>
|
|
</section>
|
|
|
|
{{/inline}}
|
|
{{~> (parent)~}}
|