mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
project widget: Fix error when not using any filters (Fix #306)
This commit is contained in:
parent
f752b362f0
commit
488a1a7f1c
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
<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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue