{{title}}
{{body}}
Tags", body: "
This is a post about <p> tags
" } ``` 渲染结果: ```htmlThis is a post about <p> tags
{{name}}
``` Handlebars also supports nested paths, making it possible to look up properties nested below the current context. ```html{{./name}} or {{this/name}} or {{this.name}}
``` Any of the above would cause the `name` field on the current context to be used rather than a helper of the same name. Template comments with {{!-- --}} or {{! }}. --------------------------------------------- You can use comments in your handlebars code just as you would in your code. Since there is generally some level of logic, this is a good practice. ```html
{{title}}