summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-01-16 19:29:31 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2012-01-16 19:29:31 -0500
commit158b3c907fbea7cc0565c860427ec3228af74b53 (patch)
treeff47676d277522e724cbb6114a247f8f3ac06c50
parent56d3d7458b43fe29ac205b762deb3fb1eb27fbd3 (diff)
downloadmako-158b3c907fbea7cc0565c860427ec3228af74b53.tar.gz
fix site base
init.js, not sure what that is
-rw-r--r--doc/build/templates/layout.mako1
-rw-r--r--doc/build/templates/makoorg/root.mako2
2 files changed, 1 insertions, 2 deletions
diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako
index c8765ef..44a2362 100644
--- a/doc/build/templates/layout.mako
+++ b/doc/build/templates/layout.mako
@@ -44,7 +44,6 @@ withsidebar = bool(toc) and current_page_name != 'index'
% for scriptfile in script_files + self.attr.local_script_files:
<script type="text/javascript" src="${pathto(scriptfile, 1)}"></script>
% endfor
- <script type="text/javascript" src="${pathto('_static/init.js', 1)}"></script>
% if hasdoc('about'):
<link rel="author" title="${_('About these documents')}" href="${pathto('about')}" />
% endif
diff --git a/doc/build/templates/makoorg/root.mako b/doc/build/templates/makoorg/root.mako
index 64ae564..35240d8 100644
--- a/doc/build/templates/makoorg/root.mako
+++ b/doc/build/templates/makoorg/root.mako
@@ -39,7 +39,7 @@ Mako Templates for Python
</div>
- <a href="/"><img src="${pathto('_static/makoLogo.png', 1)}" /></a>
+ <a href="${site_base}/"><img src="${pathto('_static/makoLogo.png', 1)}" /></a>
<hr/>