mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-01 23:41:52 +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:
parent
b6635e1baf
commit
8e1bcea82f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue