From 3fc301cde5e77db91cea0917bd96a5ac4ae31ebc Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 21 Nov 2024 14:06:09 +0900 Subject: [PATCH] Update Changelog.md --- Changelog.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Changelog.md b/Changelog.md index 66d8cdf..63612fe 100644 --- a/Changelog.md +++ b/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}}}