[%
    title = "$docset.title $book.name: $page.title";
    INCLUDE html/header;
    select = 1;
    title  = BLOCK;
	INCLUDE splash/text 
		link=rootindex 
		content=docset.title
		style = splash.style.select;
	t1 = page.name == book.name  ? '' : page.name;
	t2 = page.name == page.title ? '' : page.title;
	t3 = t1 and t2 ? "$t1: $t2" : t1 or t2;
	IF t3;
	    t3 = BLOCK;
		'| ';
		INCLUDE splash/text
		    style = splash.style.select
		    content = t3;
	    END;
	END;

	IF book;
	    ' | ';
	    INCLUDE splash/text 
		    link=bookindex 
		    content=book.name
		    style = splash.style.select;
	    t3;
	ELSE;
	    INCLUDE splash/text
		style = splash.style.select
		content = 'Documentation';
	END;
    END;

    IF navleft;
	navigate.0.text = WRAPPER html/table + html/row 
	    valign='middle' width=0
	    pad=0 space=0 border=0;

	    WRAPPER html/cell width=0;
		INCLUDE splash/icon 
		    img  = 'left'
		    link = navigate.0.link;
		'&nbsp;';
	    END;

	    INCLUDE splash/text
		content=navigate.0.text
		link = navigate.0.link
	    WRAPPER html/cell 
		width=0;
	END;
    END;
    IF navright;
	n = navleft ? 1 : 0;
        h = navleft ? navigate.1 : navigate.0;
        h.text = WRAPPER html/table + html/row
	    valign='middle' width=0
	    pad=0 space=0 border=0;

	    INCLUDE splash/text
		content = h.text
		link = h.link
	    WRAPPER html/cell 
		width=0;

	    WRAPPER html/cell width=0;
		'&nbsp;';
		INCLUDE splash/icon 
		    img='right'
		    link = h.link;
	    END;
	END;
    END;
-%]

<table border=0 width="100%" cellpadding=0 cellspacing=0>
<tr>
  <td align="right">
[% PROCESS booktabs %]
  </td>
  <td>&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr>
  <td colspan=2>
[%  INCLUDE splash/button 
	content=title 
	width='100%' 
	style=splash.style.select
	align="left"
	bold=0
%]
  </td>
</tr>
</table>

<table border="0" width="100%">
<tr valign="top">
  <td align="left">
    <br>
    <h2>[% page.title or page.name %]</h2>
  </td>
  <td align="right">
[% PROCESS navigate %]
  </td>
</tr>
</table>

[% page.about %]
