aboutsummaryrefslogtreecommitdiff
path: root/source/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-01-29 22:40:51 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-01-29 22:40:51 +0100
commitabb2117238514a965c8a756885970e652fc493a8 (patch)
treebd4a753a24511f6841ee0ee5f11200b72069b0f7 /source/templates
parentMerging heads (diff)
downloadnewspipe-abb2117238514a965c8a756885970e652fc493a8.tar.gz
newspipe-abb2117238514a965c8a756885970e652fc493a8.tar.bz2
newspipe-abb2117238514a965c8a756885970e652fc493a8.zip
Added /languages page which displays articles sorted by language.
Diffstat (limited to 'source/templates')
-rw-r--r--source/templates/languages.html15
1 files changed, 15 insertions, 0 deletions
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"/>
+<div class="left inner">
+ %for language in articles_sorted_by_languages.keys():
+ <h1>${language}</h1>
+ %for feed in articles_sorted_by_languages[language]:
+ <h2>${feed}</h2>
+ %for article in articles_sorted_by_languages[language][feed]:
+ ${article["article_title"]}
+ <br />
+ %endfor
+ <br />
+ %endfor
+ <br />
+ %endfor \ No newline at end of file
bgstack15