<table> <thead> <tr> <th>Key</th> <th>Value</th> </tr> </thead> <tbody> {% for key, value in g_content|dictsort %} <tr class="{{ loop.cycle('flDebugOdd', 'flDebugEven') }}"> <td>{{ key|escape }}</td> <td>{{ value|escape }}</td> </tr> {% endfor %} </tbody> </table>