No <div id="breadcrumbs" /> if there are none (empty <ul></ul> is invalid).
authorAnders Kaseorg <andersk@mit.edu>
Wed, 11 Feb 2009 08:40:04 +0000 (03:40 -0500)
committerAnders Kaseorg <andersk@mit.edu>
Wed, 11 Feb 2009 08:40:09 +0000 (03:40 -0500)
templates/page.tmpl

index 262f064460c4f5781d46d7b057fb5249b3df2236..8defa1b32a9962f9c9cc8ebca893a5356064538a 100644 (file)
@@ -53,6 +53,7 @@
                                 </div>
                         </div>-->
                         <h1><TMPL_VAR TITLE></h1>
+                        <TMPL_IF NAME="PARENTLINKS">
                         <div id="breadcrumbs">
                                <ul>
                                        <TMPL_LOOP NAME="PARENTLINKS">
@@ -61,6 +62,7 @@
                                </ul>
                                <br style="clear:both;" />
                         </div>
+                        </TMPL_IF>
                         <div id="featured-block">
                                <TMPL_VAR CONTENT>
                         </div>