add breadcrumbs for non top-level pages

This is essential for pages like "services" or "hardware" otherwise you
can't browse back to the upper pages without using the "back" button. If
you were hotlinked in, there is no way back at all. This will also be
useful to link back to the blog, although there is already a link there.
Might be worth making an exception for entries in the top-level links.

This looks *kind* of okay, but I might get tired of it again...
parent 9821f95e
......@@ -100,6 +100,14 @@
<header class="page-header">
<ol class="breadcrumb">
<TMPL_LOOP NAME="PARENTLINKS">
<TMPL_UNLESS NAME="DEPTH_0">
<li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li>
</TMPL_UNLESS>
</TMPL_LOOP>
</ol>
<h1><TMPL_VAR TITLE></h1>
</header>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment