{% if lines|length == 0 -%}
No results found.
{% else -%} {% if line_numbers|length != 0 -%}
{% for num in line_numbers -%}
{{num}}
{% endfor -%}
{% for line in lines -%} {% for part in line -%} {% if not file_content -%} {% set part = part | replace( 'DEBUG', 'DEBUG') | replace( 'INFO', 'INFO') | replace( 'ERROR', 'ERROR') | replace( 'CRITICAL', 'CRITICAL') | replace( 'WARNING', 'WARNING') -%} {% endif -%} {% if loop.index % 2 == 1 -%}{{part}}{% else -%}{{part}}{% endif -%} {% endfor -%} {{ "" }} {% endfor -%}