-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AbsURL tests #2147
Comments
Why? |
What do you mean "why"? If my blog is hosted at "http://example.com/mysite", I want the CSS path to be "http://example.com/mysite/css/style.css" and not "http://example.com/css/style.css". |
"/test/2/foo/" is an URL that is relative to the server root. The tests are correct, and there is no problem creating CSS paths as in your examples. |
I suspect it's an issue with the theme I was using, let's see: zyro/hyde-x#67 |
…the server root Ref: gohugoio/hugo#2147 Signed-off-by: Marvin Pinto <[email protected]>
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I came across this test of the absolute URL function (in
helpers/url_test.go
):Shouldn't the right result be http://base/path/test/2/foo ?
The text was updated successfully, but these errors were encountered: