(Hopefully) only show breadcrumbs when there are any

This commit is contained in:
Joar Wandborg 2013-10-23 20:18:34 +02:00
parent 391bb81e28
commit fcfab825e9

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>