(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="content">
<div class="container"> <div class="container">
<ol class="breadcrumb"> <TMPL_IF PARENTLINKS>
<TMPL_LOOP PARENTLINKS> <ol class="breadcrumb">
<li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li> <TMPL_LOOP PARENTLINKS>
</TMPL_LOOP> <li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li>
</ol> </TMPL_LOOP>
</ol>
</TMPL_IF>
<div class="page-header"> <div class="page-header">
<h1><TMPL_VAR TITLE></h1> <h1><TMPL_VAR TITLE></h1>
</div> </div>