浏览代码

readme: sections can be rendered 0 times

If the key is false or empty
pull/620/head
Pierre Carru GitHub 9 年前
父节点
当前提交
b9d0ef8e59
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      README.md

+ 1
- 1
README.md 查看文件

@@ -245,7 +245,7 @@ Output:

### Sections

Sections render blocks of text one or more times, depending on the value of the key in the current context.
Sections render blocks of text 0 or more times, depending on the value of the key in the current context.

A section begins with a pound and ends with a slash. That is, `{{#person}}` begins a `person` section, while `{{/person}}` ends it. The text between the two tags is referred to as that section's "block".



正在加载...
取消
保存