Added New Feature that was really nessesary.
-Added: #ignore which allows the template process to ignore segments. They can be used with #if but in a ignored segment you are not allowed to use #if/#else/#else if/#endif since it is outside of the context of the template process. But this allows to address issues with marking areas.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
test=e949777578333aa849d74d6a2c651236
|
||||
@@ -0,0 +1,23 @@
|
||||
Hello this is my test
|
||||
|
||||
#ignore
|
||||
TESTING should not be overriden
|
||||
#endignore
|
||||
|
||||
TESTING should be overriden
|
||||
|
||||
#if TEST0
|
||||
#ignore
|
||||
TESTING should not be overriden too
|
||||
#endignore
|
||||
|
||||
TESTING should be overriden too
|
||||
#endif
|
||||
#if TEST1
|
||||
|
||||
#ignore
|
||||
TESTING should not be overriden
|
||||
#endignore
|
||||
|
||||
TESTING should not be overriden
|
||||
#endif
|
||||
@@ -0,0 +1,8 @@
|
||||
Hello this is my test
|
||||
|
||||
TESTING should not be overriden
|
||||
|
||||
Test2 should be overriden
|
||||
TESTING should not be overriden too
|
||||
|
||||
Test2 should be overriden too
|
||||
Reference in New Issue
Block a user