diff MoinMoin/theme/__init__.py @ 1347:b65614f8a393

use page.link_to(_raw) more often
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 20 Aug 2006 16:59:51 +0200
parents f4558797325a
children 26949e36ca0b
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sun Aug 20 15:51:08 2006 +0200
+++ b/MoinMoin/theme/__init__.py	Sun Aug 20 16:59:51 2006 +0200
@@ -183,9 +183,8 @@
         """
         html = u''
         if self.cfg.logo_string:
-            pagename = wikiutil.getFrontPage(self.request).page_name
-            pagename = wikiutil.quoteWikinameURL(pagename)
-            logo = wikiutil.link_tag(self.request, pagename, self.cfg.logo_string)
+            page = wikiutil.getFrontPage(self.request)
+            logo = page.link_to_raw(self.request, self.cfg.logo_string)
             html = u'''<div id="logo">%s</div>''' % logo
         return html