This commit is contained in:
Max 2023-11-24 14:06:14 +08:00
parent 5bce0f6081
commit 4bc84c3623

View file

@ -131,10 +131,12 @@ func (page *Page) Link(r *Request) string {
value, has := r.Params[name]
if !has {
paths = append(paths, name)
continue
}
paths = append(paths, value)
continue
}
paths = append(paths, part)
}