From: Matthijs Kooijman Date: Wed, 24 Jun 2009 16:44:11 +0000 (+0200) Subject: Add jquery for the exodus site and special CSS for the homepage. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fwipi.git;a=commitdiff_plain;h=b2912b4bd113bf8630a69e2c60661e32fa9bf36d Add jquery for the exodus site and special CSS for the homepage. --- diff --git a/plugin/theme/exodus.py b/plugin/theme/exodus.py index f8d9bb4..12354e2 100644 --- a/plugin/theme/exodus.py +++ b/plugin/theme/exodus.py @@ -1,4 +1,3 @@ -# -*- coding: iso-8859-1 -*- """ MoinMoin - modern theme @@ -12,6 +11,17 @@ class Theme(SiteTheme): name = "exodus" + def html_head(self, d): + html = [ + SiteTheme.html_head(self, d), + #self.theme_script('jquery-1.3.2.min'), + self.theme_script('jquery-1.3.2'), + ] + if d['page'].page_name == 'Site': + html.append(self.theme_script('homepage')) + + return '\n'.join(html) + def execute(request): """ Generate and return a theme object