diff MoinMoin/theme/__init__.py @ 5850:8b4f02226670

Option which gives ability to turn off addition of page history RSS feed link added.
author Eugene Syromyatnikov <evgsyr@gmail.com>
date Fri, 18 May 2012 13:25:44 +0400
parents f7a570f3c1cb
children d0567fba754e
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Wed May 16 08:25:04 2012 +0400
+++ b/MoinMoin/theme/__init__.py	Fri May 18 13:25:44 2012 +0400
@@ -901,7 +901,7 @@
                     u'href="%s" type="application/rss+xml">') % (
                         wikiutil.escape(self.cfg.sitename, True),
                         wikiutil.escape(self.rsshref(page), True) )
-        elif rss_supported:
+        elif rss_supported and self.cfg.rss_show_page_history_link:
             link = (u'<link rel="alternate" title="%s: %s" '
                     u'href="%s" type="application/rss+xml">') % (
                         wikiutil.escape(self.cfg.sitename, True), page.page_name,