diff options
Diffstat (limited to 'source/templates')
-rw-r--r-- | source/templates/index.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/templates/index.html b/source/templates/index.html index 66f301e6..5bf6bc42 100644 --- a/source/templates/index.html +++ b/source/templates/index.html @@ -51,11 +51,12 @@ import utils %> <% for feed in feeds: - 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<br />""" % \ - (feed["site_link"], feed["feed_title"], \ + html += """\n<h2 id="%s"><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<br />""" % \ + (feed["feed_id"], feed["site_link"], feed["feed_title"], \ feed["feed_link"], feed["feed_image"]) # The main page display only 10 articles by feeds. |