diff --git a/sui/core/page.go b/sui/core/page.go index ee2f3d36..4086a615 100644 --- a/sui/core/page.go +++ b/sui/core/page.go @@ -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) }