mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 01:08:47 +02:00
fixed homepage item not showing
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user