summaryrefslogtreecommitdiff
path: root/templates/page.mako
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.mako')
-rw-r--r--templates/page.mako10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/page.mako b/templates/page.mako
index 9e1f20f..4670764 100644
--- a/templates/page.mako
+++ b/templates/page.mako
@@ -38,5 +38,13 @@ ${next.body()}
</%def>
<%def name="toc()">
- <div id="toc"></div>
+ <div id="toc">
+ <noscript class="box">
+ Enable JavaScript for a table of contents.
+ </noscript>
+ </div>
+ <noscript>
+ <!-- dummy paragraph to get the correct layout in noscript mode -->
+ <p></p>
+ </noscript>
</%def>