Skip to content

Instantly share code, notes, and snippets.

Created February 27, 2014 13:41

Revisions

  1. @invalid-email-address Anonymous created this gist Feb 27, 2014.
    22 changes: 22 additions & 0 deletions client.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    <head>
    <title>ffff</title>
    </head>

    <body>
    <h1>ffff</h1>
    {{> welcome }}
    {{> persons }}
    </body>

    <template name="welcome">
    <p>
    Hello.
    </p>
    </template>

    <template name="persons">
    {{-- Session.set("whatever", 1)}}
    {{#each persons(1)}}
    <strong>@{{twitter}}:</strong>
    {{/each}}
    </template>