aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2012-11-29 00:01:16 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2012-11-29 00:01:16 +0100
commit6354563b23fe57a23c46a39e1fdcdbe7c51252e7 (patch)
tree215b17f0f7556ab1105345b0b5fa8da59787a235 /source
parentRemoved empty lines. (diff)
downloadnewspipe-6354563b23fe57a23c46a39e1fdcdbe7c51252e7.tar.gz
newspipe-6354563b23fe57a23c46a39e1fdcdbe7c51252e7.tar.bz2
newspipe-6354563b23fe57a23c46a39e1fdcdbe7c51252e7.zip
Template adjustment.
Diffstat (limited to 'source')
-rw-r--r--source/templates/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/templates/index.html b/source/templates/index.html
index 43387a3e..69d124a2 100644
--- a/source/templates/index.html
+++ b/source/templates/index.html
@@ -49,11 +49,11 @@ import utils
%>
<%
for feed in feeds:
- html += """<h2><a name="%s"><a href="%s" rel="noreferrer"
- target="_blank">%s</a></a>
+ html += """<a name="%s"></a>\n""" % (feed["feed_id"],)
+ html += """<h2><a href="%s" rel="noreferrer" target="_blank">%s</a>
<a href="%s" rel="noreferrer"
- target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \
- (feed["feed_id"], feed["site_link"], feed["feed_title"], \
+ target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n<br />""" % \
+ (feed["site_link"], feed["feed_title"], \
feed["feed_link"], feed["feed_image"])
# The main page display only 10 articles by feeds.
bgstack15