mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
widgets: Fix project filter buttons (#362)
This commit is contained in:
parent
70ea150aeb
commit
18979019f9
1 changed files with 3 additions and 1 deletions
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue