diff options
-rw-r--r-- | pyaggr3g470r/templates/articles.html | 2 | ||||
-rw-r--r-- | pyaggr3g470r/views.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/articles.html b/pyaggr3g470r/templates/articles.html index d2da6d18..eecb9579 100644 --- a/pyaggr3g470r/templates/articles.html +++ b/pyaggr3g470r/templates/articles.html @@ -2,7 +2,7 @@ {% block content %} <div class="container"> <div class="jumbotron"> - <h2><a href="{{ feed.site_link }}">{{ feed.title|safe }}</a></h2> + <h2><a href="{{ feed.site_link }}">{{ feed.title|safe }}</a></h2> <a href="/feed/{{ feed.id }}"><i class="glyphicon glyphicon-info-sign" title="Details"></i></a> <a href="/edit_feed/{{ feed.id }}"><i class="glyphicon glyphicon-edit" title="Edit this feed"></i></a> {% if nb_articles == 10**9 %} diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index 4501a6dd..8ec3978f 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -335,6 +335,7 @@ def articles(feed_id=None, nb_articles=-1): new_feed = Feed() new_feed.id = feed.id new_feed.title = feed.title + new_feed.site_link = feed.site_link if len(feed.articles.all()) <= nb_articles: nb_articles = -1 if nb_articles == -1: |