{% if len(tag_info_list) == 0 %} {% include common/text/empty_text.html %} {% end %} {% for tag_info in tag_info_list %} {{tag_info.tag_name}} {{tag_info.amount}} {% end %}