mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Minor polish in path/url
This commit is contained in:
@@ -168,5 +168,5 @@ func ResourceAndExt(in string) (name string, ext string) {
|
||||
ext = path.Ext(in)
|
||||
base := path.Base(in)
|
||||
|
||||
return FileAndExtSep(in, ext, base, "/"), ext
|
||||
return extractFilename(in, ext, base, "/"), ext
|
||||
}
|
||||
|
Reference in New Issue
Block a user