stas 2002/06/30 08:54:04 Modified: tmpl/custom/html prev_next_link Log: supply the right way to indentify /index.html by its id, so now other pages (hidden mostly) without prev and next items always have the [up] link. (which was broken before) Revision Changes Path 1.16 +3 -1 modperl-docs/tmpl/custom/html/prev_next_link Index: prev_next_link =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/prev_next_link,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- prev_next_link 28 Jun 2002 06:36:57 -0000 1.15 +++ prev_next_link 30 Jun 2002 15:54:03 -0000 1.16 @@ -13,7 +13,9 @@ next_link = INCLUDE link prefix=rel_doc_root link=next.meta.link; END; -%] -[%- IF prev_link || next_link || (rel_doc_root && rel_doc_root != '.') -%] + +[%- # don't add the navigation for the top level index.html + IF prev_link || next_link || doc.meta.id != 'home' -%] [%- IF prev_link -%] <a href="[%- prev_link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_prev.gif" alt="previous page: [% prev.meta.title | html %]" border="0" width="48" height="16"></a> [%- ELSE -%]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]