From f58754cb01d4a6eacfd93fffa3040bd710af86fe Mon Sep 17 00:00:00 2001 From: David Glasser Date: Wed, 26 Mar 2014 19:10:46 -0700 Subject: [PATCH] Add stuff about template files to spacebars README --- packages/spacebars/README.md | 41 ++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/packages/spacebars/README.md b/packages/spacebars/README.md index a42e499edb..c3bcfa5e31 100644 --- a/packages/spacebars/README.md +++ b/packages/spacebars/README.md @@ -7,18 +7,20 @@ Spacebars is a Meteor template language inspired by [Handlebars](http://handleba A Spacebars template consists of HTML interspersed with template tags, which are delimited by `{{` and `}}` (two curly braces). ``` -

{{pageTitle}}

+ ``` As illustrated by the above example, there are four major types of template tags: @@ -356,3 +358,24 @@ or equivalently `
`. The HTML spec allows omitting some additional end tags, such as P and LI, but Spacebars doesn't currently support this. + +## Top-level Elements in a `.html` file + +Technically speaking, the `