Permalink
Browse files

project widget: Fix error when not using any filters (Fix #306)

  • Loading branch information...
gcushen committed Oct 11, 2017
1 parent f752b36 commit 488a1a7f1ca256115452563308913c8ba8994c72
Showing with 1 addition and 1 deletion.
  1. +1 −1 layouts/partials/widgets/projects.html
@@ -15,7 +15,7 @@ <h1>{{ with $page.Title }}{{ . | markdownify }}{{ end }}</h1>
<span class="hidden default-project-filter">{{ (index $page.Params.filter ($filter_default)).tag }}</span>
{{ end }}
{{ if gt (len $page.Params.filter) 1 }}
{{ if and (($page.Params.filter) (gt (len $page.Params.filter) 1)) }}
<div class="project-toolbar">
<div class="project-filters">
<div class="btn-toolbar">

0 comments on commit 488a1a7

Please sign in to comment.