1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-11 05:55:57 +00:00

minor: examples

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-30 15:26:50 +03:00
parent a3279b8fa9
commit 600eb645df
6 changed files with 125 additions and 31 deletions

View File

@@ -0,0 +1,27 @@
<div class="post">
<h1>By {{fullName author}}</h1>
<div class="body">{{body}}</div>
<h1>Comments</h1>
{{#each comments}}
<h2>By {{fullName author}}</h2>
<div class="body">{{body}}</div>
{{/each}}
<!-- <h1>Struct example</h1>
{{#with myStruct}}
{{ this }}
OR
{{ FieldMame }}
{{/with}} -->
<hr />
<strong>Read more at: <a href="https://github.com/aymerick/raymond" target="_new">
https://github.com/aymerick/raymond</a> and <a href="https://handlebarsjs.com/guide" target="_new">
https://handlebarsjs.com/guide
</a>
</strong>
</div>