(Hopefully) only show breadcrumbs when there are any

This commit is contained in:
Joar Wandborg 2013-10-23 20:18:34 +02:00 committed by Bradley M. Kuhn
parent 495235005f
commit 8c2fb49f4c

View file

@ -79,11 +79,13 @@
<div class="content">
<div class="container">
<ol class="breadcrumb">
<TMPL_LOOP PARENTLINKS>
<li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li>
</TMPL_LOOP>
</ol>
<TMPL_IF PARENTLINKS>
<ol class="breadcrumb">
<TMPL_LOOP PARENTLINKS>
<li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li>
</TMPL_LOOP>
</ol>
</TMPL_IF>
<div class="page-header">
<h1><TMPL_VAR TITLE></h1>
</div>