Skip to content

Commit

Permalink
readme: sections can be rendered 0 times
Browse files Browse the repository at this point in the history
If the key is false or empty
  • Loading branch information
piec authored and phillipj committed Jun 22, 2020
1 parent a7f1c3d commit 05a8345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,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".

Expand Down

0 comments on commit 05a8345

Please sign in to comment.