widgets: Fix project filter buttons (#362)

This commit is contained in:
Thomas Mieling 2017-10-28 16:52:20 +02:00 committed by gcushen
commit 18979019f9

View file

@ -15,7 +15,8 @@
<span class="hidden default-project-filter">{{ (index $page.Params.filter ($filter_default)).tag }}</span>
{{ end }}
{{ if and (($page.Params.filter) (gt (len $page.Params.filter) 1)) }}
{{ if isset $page.Params "filter" }}
{{ if gt (len $page.Params.filter) 1 }}
<div class="project-toolbar">
<div class="project-filters">
<div class="btn-toolbar">
@ -28,6 +29,7 @@
</div>
</div>
{{ end }}
{{ end }}
{{ if eq $page.Params.view 0 }}