mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
@@ -305,7 +305,7 @@ func (c *PageCollections) getContentNode(context page.Page, isReflink bool, ref
|
||||
}
|
||||
|
||||
// Ref/relref supports this potentially ambigous lookup.
|
||||
return getByName(name)
|
||||
return getByName(path.Base(name))
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user