diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-07 19:36:56 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-07 19:36:56 +0200 |
commit | f087da9e2a22a738f0d3dc1e6dfe442421d49494 (patch) | |
tree | ec02c31fadf3a11797118f8aa0f821d1f609916d | |
parent | 9cf3ee4782b567949f58764d3a7249b48e7a78a0 (diff) | |
download | web-f087da9e2a22a738f0d3dc1e6dfe442421d49494.tar.gz web-f087da9e2a22a738f0d3dc1e6dfe442421d49494.tar.bz2 web-f087da9e2a22a738f0d3dc1e6dfe442421d49494.zip |
Noscript handling for TOC
-rw-r--r-- | templates/page.mako | 10 |
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> |