aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2014-04-23 07:26:48 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2014-04-23 07:26:48 +0200
commit881ba100b6bd8bbfa3543773056959d68d8cfdcc (patch)
tree69ba8a4f8ed1d470be4cd3f2e0318de37f3e7634 /pyaggr3g470r
parentWhoosh dependency added to the requirements.txt file. (diff)
downloadnewspipe-881ba100b6bd8bbfa3543773056959d68d8cfdcc.tar.gz
newspipe-881ba100b6bd8bbfa3543773056959d68d8cfdcc.tar.bz2
newspipe-881ba100b6bd8bbfa3543773056959d68d8cfdcc.zip
Bug fix.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/templates/articles.html2
-rw-r--r--pyaggr3g470r/views.py1
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:
bgstack15