X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fwipi.git;a=blobdiff_plain;f=plugin%2Ftheme%2Fexodus.py;h=12354e201fa5a188e3eee9760452fd84423eff05;hp=f8d9bb466ea9812af943846146fb0eb1f854ca4d;hb=b2912b4bd113bf8630a69e2c60661e32fa9bf36d;hpb=6f22d63c5942ec55a4ebb6b43fc556a3cc071bb5 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