Mercurial > hg > nginx-site
diff xsls/body.xsls @ 590:05761a8e38f6
Added an option to disable generation of TOC.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 19 Jul 2012 04:56:13 +0000 |
parents | be54c443235a |
children | 1902d38f0b05 |
line wrap: on
line diff
--- a/xsls/body.xsls Tue Jul 17 05:02:15 2012 +0000 +++ b/xsls/body.xsls Thu Jul 19 04:56:13 2012 +0000 @@ -39,7 +39,7 @@ <tr><td valign="top"> - X:if "section[@name]" { + X:if "@toc = 'yes' and section[@id and @name]" { <table width="100%"><tr><td align="{$INDEX_ALIGN}"> X:for-each "section[@id and @name]" { <a href="#{@id}"> !{@name} </a><br/>