stas 02/05/13 20:58:58
Modified: tmpl/custom/html page_toc
Log:
provide a better solution for when to display the Table of Contents
header. This should be a catch all clean solution.
Revision Changes Path
1.10 +1 -1 modperl-docs/tmpl/custom/html/page_toc
Index: page_toc
===================================================================
RCS file: /home/cvs/modperl-docs/tmpl/custom/html/page_toc,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- page_toc 12 May 2002 12:01:56 -0000 1.9
+++ page_toc 14 May 2002 03:58:58 -0000 1.10
@@ -5,7 +5,7 @@
# toc - an array ref with keys: link, title, abstract, subs
# (subs is optional and includes a similar array)
-%]
-[%- IF toc.size -%]
+[%- IF toc.size && toc.0.title -%]
<h3>Table of Contents</h3>
<div class="toc">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]