mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
Further work on path/section stuff. Tests passing now.
This commit is contained in:
@@ -39,10 +39,5 @@ type UrlPath struct {
|
||||
}
|
||||
|
||||
func (n *Node) GetSection() string {
|
||||
s := ""
|
||||
if n.Section != "" {
|
||||
s = n.Section
|
||||
}
|
||||
|
||||
return s
|
||||
return n.Section
|
||||
}
|
||||
|
Reference in New Issue
Block a user