HandlebarsJS
This commit is contained in:
parent
0c5e73abe6
commit
8ef7b75f11
1 changed files with 7 additions and 2 deletions
|
@ -40,11 +40,16 @@
|
|||
<div id="experience">
|
||||
<div id="exp_contents">
|
||||
<script id="exp-template" type="text/x-handlebars-template">
|
||||
<ul>
|
||||
{{#each experiences}}
|
||||
|
||||
<div id="{{@index}}">
|
||||
<p>{{title}} at {{org}} from {{start}} to {{end}}.</p>
|
||||
<ul>
|
||||
{{#each task}}<li>{{this}}</li>{{/each}}
|
||||
</ul>
|
||||
<div>
|
||||
|
||||
{{/each}}
|
||||
</ul>
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue