Make /Site available on exodus.ee.nl as well.
[matthijs/projects/wipi.git] / plugin / theme / exodus.py
1 """
2     MoinMoin - modern theme
3
4     @copyright: 2003-2005 Nir Soffer, Thomas Waldmann
5     @license: GNU GPL, see COPYING for details.
6 """
7
8 from site import SiteTheme
9
10 class Theme(SiteTheme):
11
12     name = "exodus"
13
14     def html_head(self, d):
15         html = [
16             SiteTheme.html_head(self, d),
17             #self.theme_script('jquery-1.3.2.min'),
18             self.theme_script('jquery-1.3.2'),
19         ]
20         if d['page'].page_name == 'Site':
21             html.append(self.theme_script('homepage'))
22
23         return '\n'.join(html)
24
25 def execute(request):
26     """
27     Generate and return a theme object
28         
29     @param request: the request object
30     @rtype: MoinTheme
31     @return: Theme object
32     """
33     return Theme(request)