mirror of
https://github.com/yusing/godoxy.git
synced 2025-06-09 04:52:35 +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
|
||||
}
|
||||
|
||||
if !item.IsEmpty() {
|
||||
item.Show = true
|
||||
}
|
||||
|
||||
if !item.Show {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue