{% import 'macros.imp.j2' as macros with context %}
{{ macros.headerbar() }}
{% include 'messages.inc.j2' %}
{{ title | e }}
{% for row in rows %}{#
#}{% set meta = '+' ~ row.n_karma|trim3 ~ '/!' ~ row.n_comments|trim3 %}{#
#}{% set meta = '↑' ~ row.n_karma|trim3 %}{#
#}{{ '' if 1 >= row.n_karma }}{#
#}{% call macros.card(row.video_id, row.title, meta) %}
/r/{{ row.subreddit | lower | e }}
{% endcall %}{{ '' if 1>=row.n_karma }}{#
#}{% endfor %}