From abb2117238514a965c8a756885970e652fc493a8 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 29 Jan 2013 22:40:51 +0100 Subject: Added /languages page which displays articles sorted by language. --- source/templates/languages.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 source/templates/languages.html (limited to 'source/templates') diff --git a/source/templates/languages.html b/source/templates/languages.html new file mode 100644 index 00000000..202f02c8 --- /dev/null +++ b/source/templates/languages.html @@ -0,0 +1,15 @@ +## languages.html +<%inherit file="base.html"/> +
+ %for language in articles_sorted_by_languages.keys(): +

${language}

+ %for feed in articles_sorted_by_languages[language]: +

${feed}

+ %for article in articles_sorted_by_languages[language][feed]: + ${article["article_title"]} +
+ %endfor +
+ %endfor +
+ %endfor \ No newline at end of file -- cgit