added more utility rules and updated example
This commit is contained in:
1 parent
036928d628
commit
cb8c9f9c0b
12 files changed
+34942
-32273
No files matched your search
@@ -173,7 +173,6 @@ c
|
||||
|
||||
==================
|
||||
Ifchanged With Two Elses
|
||||
:error
|
||||
==================
|
||||
|
||||
{% ifchanged %}
|
||||
@@ -186,10 +185,24 @@ c
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(ifchanged_group
|
||||
(ifchanged_clause
|
||||
(ifchanged_block)
|
||||
(template
|
||||
(content)))
|
||||
(else_clause
|
||||
(else_block)
|
||||
(template
|
||||
(content)
|
||||
(unexpected_block)
|
||||
(content)))
|
||||
(endifchanged_block))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Ifchanged With An Argument On Else
|
||||
:error
|
||||
==================
|
||||
|
||||
{% ifchanged %}
|
||||
@@ -199,3 +212,15 @@ b
|
||||
{% endifchanged %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(ifchanged_group
|
||||
(ifchanged_clause
|
||||
(ifchanged_block)
|
||||
(template
|
||||
(content)
|
||||
(unexpected_block)
|
||||
(content)))
|
||||
(endifchanged_block))
|
||||
(content))
|
||||
Reference in new issue
Block a user