aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xblogthon.cgi10
1 files changed, 2 insertions, 8 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index 2b70c6e..e257612 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -330,19 +330,13 @@ else:
# RSS feed
print ' <div class="rss">'
- if os.path.exists('styles/' + style.replace('.css', '') + '_img/rss.jpg'):
- print ' <a href="?feed=rss"><img src="styles/' + style.replace('.css', '') + '_img/rss.jpg"></a>'
- else:
- print ' <a href="?feed=rss" class="rss_link">rss</a>'
+ print ' <a href="?feed=rss" class="rss_link">rss</a>'
print ' </div>'
print ''
# Atom feed
print ' <div class="atom">'
- if os.path.exists('styles/' + style.replace('.css', '') + '_img/atom.jpg'):
- print ' <a href="?feed=atom"><img src="styles/' + style.replace('.css', '') + '_img/atom.jpg></a>'
- else:
- print ' <a href="?feed=atom" class="atom_link">atom</a>'
+ print ' <a href="?feed=atom" class="atom_link">atom</a>'
print ' </div>'
print ''