Update Changelog.md
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 22s
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 22s
This commit is contained in:
parent
82693bfa3e
commit
3fc301cde5
1 changed files with 6 additions and 4 deletions
10
Changelog.md
10
Changelog.md
|
@ -4,16 +4,17 @@
|
|||
|
||||
Implemented "IF", "ELSEIF", "ELSE", "ENDIF", and "INDEX" for templates.
|
||||
|
||||
IF is used like: `{{{!IF Variable==SomeString}}}`.
|
||||
ELSEIF is used like: `{{{!ELSEIF Variable==AnotherString}}}`.
|
||||
ELSE is used like: `{{{!ELSE}}}`.
|
||||
ENDIF is used like: `{{{!ENDIF}}}`.
|
||||
IF is used like: `{{{!IF Variable==SomeString}}}`.
|
||||
ELSEIF is used like: `{{{!ELSEIF Variable==AnotherString}}}`.
|
||||
ELSE is used like: `{{{!ELSE}}}`.
|
||||
ENDIF is used like: `{{{!ENDIF}}}`.
|
||||
INDEX is used like: `{{{!INDEX ArrayVar[2]}}}`.
|
||||
|
||||
Implemented "FOREACH" and "ENDFOREACH" for templates.
|
||||
|
||||
FOREACH is used like:
|
||||
|
||||
PATH=/
|
||||
HTML='''
|
||||
{{{!FOREACH ArrayVar}}}
|
||||
{{{ArrayVar}}}
|
||||
|
@ -24,6 +25,7 @@ FOREACH is used like:
|
|||
|
||||
For multiple variables to expand in FOREACH:
|
||||
|
||||
PATH=/
|
||||
HTML='''
|
||||
{{{!FOREACH ArrayVar!ArrayVarSecond!ArrayVarThird}}}
|
||||
{{{ArrayVar}}}
|
||||
|
|
Loading…
Reference in a new issue