mirror of
https://github.com/yusing/godoxy.git
synced 2025-06-09 13:02:33 +02:00
fixed homepage item not showing
This commit is contained in:
parent
8b8e1773e8
commit
bd732dfa0a
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ func HomepageConfig() homepage.Config {
|
||||||
item.Show = true
|
item.Show = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !item.IsEmpty() {
|
||||||
|
item.Show = true
|
||||||
|
}
|
||||||
|
|
||||||
if !item.Show {
|
if !item.Show {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue