{# The line spacing below is intentional, to avoid the extra newline in the 'pre' #} {% for l in log reversed %}{{l}} {% endfor %}