mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 22:21:07 +03:00
parent
0a7d1d0ddc
commit
e56ecab157
14 changed files with 34 additions and 105 deletions
|
@ -186,7 +186,6 @@ func getLanguagePrefix() string {
|
|||
}
|
||||
|
||||
// IsAbsURL determines whether the given path points to an absolute URL.
|
||||
// TODO(bep) ml tests
|
||||
func IsAbsURL(path string) bool {
|
||||
url, err := url.Parse(path)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue