## languages.html <%inherit file="base.html"/>
%for language in articles_sorted_by_languages.keys():

${language}

%for feed_id in articles_sorted_by_languages[language]: <% feed = mongo.get_feed(feed_id) %>

${feed["feed_title"]}

%for article in articles_sorted_by_languages[language][feed_id]: ${article["article_date"].strftime('%Y-%m-%d %H:%M')} - ${article["article_title"]}
%endfor
%endfor
%endfor