projects
/
matthijs
/
projects
/
wipi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f22d63
)
Add jquery for the exodus site and special CSS for the homepage.
author
Matthijs Kooijman
<matthijs@stdio.flexvps.nl>
Wed, 24 Jun 2009 16:44:11 +0000
(18:44 +0200)
committer
Matthijs Kooijman
<matthijs@stdio.flexvps.nl>
Wed, 24 Jun 2009 16:44:11 +0000
(18:44 +0200)
plugin/theme/exodus.py
patch
|
blob
|
history
diff --git
a/plugin/theme/exodus.py
b/plugin/theme/exodus.py
index f8d9bb466ea9812af943846146fb0eb1f854ca4d..12354e201fa5a188e3eee9760452fd84423eff05 100644
(file)
--- 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