aboutsummaryrefslogtreecommitdiff
path: root/source/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2012-11-30 17:42:06 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2012-11-30 17:42:06 +0100
commit3e2df796e230aa67371594cddd699a4e67ecd0e9 (patch)
tree32f25d944168966429e01420038d14d30b6f1f31 /source/templates
parentList of favorites articles is now always sorted by date. (diff)
downloadnewspipe-3e2df796e230aa67371594cddd699a4e67ecd0e9.tar.gz
newspipe-3e2df796e230aa67371594cddd699a4e67ecd0e9.tar.bz2
newspipe-3e2df796e230aa67371594cddd699a4e67ecd0e9.zip
Code factorization.
Diffstat (limited to 'source/templates')
-rw-r--r--source/templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/templates/index.html b/source/templates/index.html
index 69d124a2..e850ece9 100644
--- a/source/templates/index.html
+++ b/source/templates/index.html
@@ -57,7 +57,7 @@ import utils
feed["feed_link"], feed["feed_image"])
# The main page display only 10 articles by feeds.
- for article in mongo.get_articles_from_collection(feed["feed_id"], limit=10):
+ for article in mongo.get_articles(feed["feed_id"], limit=10):
if article["article_readed"] == False:
# not readed articles are in bold
not_read_begin, not_read_end = "<b>", "</b>"
bgstack15