mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
libsass: Resolve directory paths to directory index files
Closes #12851
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
2bc27657d8
commit
5b442b3cce
@@ -166,9 +166,10 @@ func (t importResolver) CanonicalizeURL(url string) (string, error) {
|
||||
namePatterns = []string{"_%s.scss", "_%s.sass", "_%s.css"}
|
||||
} else {
|
||||
namePatterns = []string{
|
||||
"_%s.scss", "%s.scss", "%s/_index.scss",
|
||||
"_%s.sass", "%s.sass", "%s/_index.sass",
|
||||
"_%s.scss", "%s.scss",
|
||||
"_%s.sass", "%s.sass",
|
||||
"_%s.css", "%s.css",
|
||||
"%s/_index.scss", "%s/_index.sass",
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user