mirror of
https://shylinux.com/x/icebergs
synced 2025-05-01 03:09:21 +08:00
opt some
This commit is contained in:
parent
5562c45a26
commit
b4e95f8dab
@ -133,7 +133,7 @@ func init() {
|
|||||||
mdb.HashSelect(m, arg...).Table(func(index int, value map[string]string, head []string) {
|
mdb.HashSelect(m, arg...).Table(func(index int, value map[string]string, head []string) {
|
||||||
m.PushAnchor(m.MergeURL2(value[nfs.PATH]))
|
m.PushAnchor(m.MergeURL2(value[nfs.PATH]))
|
||||||
})
|
})
|
||||||
if m.Length() == 0 {
|
if m.Length() == 0 && len(arg) > 0 {
|
||||||
m.Push(mdb.TEXT, m.Cmdx(nfs.CAT, path.Join("src/website", path.Join(arg...))))
|
m.Push(mdb.TEXT, m.Cmdx(nfs.CAT, path.Join("src/website", path.Join(arg...))))
|
||||||
m.Push(nfs.PATH, path.Join("/chat/website/", path.Join(arg...)))
|
m.Push(nfs.PATH, path.Join("/chat/website/", path.Join(arg...)))
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user