else:\r
del block_parameters[-2:]\r
\r
+ if len(block_parameters) == 3:\r
+ ignore_missing = True\r
+\r
+ if block_parameters[1]['value']['variable'] != 'ignore' and block_parameters[2]['value']['variable'] != 'missing':\r
+ raise\r
+\r
return nodes.Include(\r
template,\r
with_context,\r
{{ foo not in bar }}\r
{% from 'forms.html' import input with context %}\r
{% include 'header.html' without context %}\r
-{% import 'forms.html' as forms %}
\ No newline at end of file
+{% import 'forms.html' as forms %}\r
+{% include ['special_sidebar.html', 'sidebar.html'] ignore missing %}\r
+{% include "sidebar.html" ignore missing %}\r
+{% include "sidebar.html" ignore missing with context %}\r
+{% include "sidebar.html" ignore missing without context %}
\ No newline at end of file