diff --git a/templates/bootstrap_table.html b/templates/bootstrap_table.html index c69d69b..0fb8280 100644 --- a/templates/bootstrap_table.html +++ b/templates/bootstrap_table.html @@ -70,8 +70,9 @@ </table> </div> - <h1>Minifigs</h1> +{% if minifigs_file.figs | length > 0 %} + <h1>Minifigs</h1> {% for fig in minifigs_file.figs %} <h2>{{ fig.name}}</h2> @@ -135,7 +136,7 @@ {% endfor %} - +{% endif %}