mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
docs: Update documentation for URLs
Using absolute URLs overrides relative URL behavior. This should be explicit in the docs.
This commit is contained in:
1 parent
b6635e1baf
commit
8e1bcea82f
1 file changed
+1
-1
@@ -125,7 +125,7 @@ And the equivalent example `config.yaml`:
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
**NOTE:** The URLs must be relative to the context root. If the `BaseURL` is `http://example.com/mysite/`, then the URLs in the menu must not include the context root `mysite`.
|
**NOTE:** The URLs must be relative to the context root. If the `BaseURL` is `http://example.com/mysite/`, then the URLs in the menu must not include the context root `mysite`. Using an absolute URL will overide the BaseURL. If the `URL` is `http://subdomain.example.com/`, the output will be `http://subdomain.example.com`.
|
||||||
|
|
||||||
## Nesting
|
## Nesting
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user