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