aboutsummaryrefslogtreecommitdiff
path: root/source/templates
diff options
context:
space:
mode:
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