X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=blobdiff_plain;f=ipsilon%2Froot.py;h=e21411579afa5e4f217dc9b62e5982abe6676b89;hp=b2654ac05d7d0b78b8aa072871b90cc5b2674427;hb=f461a713ce28e434a34dca4e4d1abbfe255ef1ff;hpb=c6fab2542f52f6cca71c207c1925785971e51295 diff --git a/ipsilon/root.py b/ipsilon/root.py index b2654ac..e214115 100755 --- a/ipsilon/root.py +++ b/ipsilon/root.py @@ -39,6 +39,7 @@ class Root(Page): if template_env: sites[site]['template_env'] = template_env super(Root, self).__init__(sites[site]) + self.html_heads = dict() # set up error pages cherrypy.config['error_page.400'] = errors.Error_400(self._site) @@ -60,4 +61,6 @@ class Root(Page): ProviderPlugins(self._site, self.admin) def root(self): - return self._template('index.html', title='Ipsilon') + self.debug(self.html_heads) + return self._template('index.html', title='Ipsilon', + heads=self.html_heads)