X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=plugin%2Ftheme%2Fexodus.py;h=5a27ef5023541eccb67d398c0dff6d235ae26868;hb=dc5446c2a78824316454d2d14102b010bf013f61;hp=f8d9bb466ea9812af943846146fb0eb1f854ca4d;hpb=de9df7d614654bfc9399dfd3055a03833ab51f48;p=matthijs%2Fprojects%2Fwipi.git diff --git a/plugin/theme/exodus.py b/plugin/theme/exodus.py index f8d9bb4..5a27ef5 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,18 @@ 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')) + html.append(self._stylesheet_link(True, 'screen', 'home')) + + return '\n'.join(html) + def execute(request): """ Generate and return a theme object @@ -21,3 +32,5 @@ def execute(request): @return: Theme object """ return Theme(request) + +# vim: set sw=4 sts=4 expandtab: