init
This commit is contained in:
1
testdata/file_if/<@if(context.web)>web/<@if(context.file)>example.txt
vendored
Normal file
1
testdata/file_if/<@if(context.web)>web/<@if(context.file)>example.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<@var(context.text)>
|
||||
7
testdata/if_elseif_else_in_file/test.txt
vendored
Normal file
7
testdata/if_elseif_else_in_file/test.txt
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<@if(context.test)>
|
||||
test
|
||||
<@elseif(context.test2)>
|
||||
test2
|
||||
<@else>
|
||||
test3
|
||||
<@endif>
|
||||
7
testdata/if_example/<@if(context.web)>web/if_example.html
vendored
Normal file
7
testdata/if_example/<@if(context.web)>web/if_example.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<document>
|
||||
<@if(context.header.render)>
|
||||
<head> <@var(context.header.text)> </head>
|
||||
<@endif>
|
||||
<body>
|
||||
</body>
|
||||
</document>
|
||||
2
testdata/no_end_if/test.txt
vendored
Normal file
2
testdata/no_end_if/test.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<@if(context.test)>
|
||||
test
|
||||
@@ -0,0 +1,7 @@
|
||||
<document>
|
||||
<@if(context.header.render)>
|
||||
<head> <@var(context.header.text)> </head>
|
||||
<@endif>
|
||||
<body>
|
||||
</body>
|
||||
</document>
|
||||
Reference in New Issue
Block a user