Przeglądaj źródła

readme: sections can be rendered 0 times

If the key is false or empty
tags/v4.1.0
Pierre Carru Phillip Johnsen 9 lat temu
rodzic
commit
05a8345340
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      README.md

+ 1
- 1
README.md Wyświetl plik

@@ -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".



Ładowanie…
Anuluj
Zapisz