siteUrl
- type:
string
- default: N/A
- required:
false
Description
Set the URL the site will be published under. All links will be prefixed with this URL.
siteUrl
will always be the base URL, while assetsPrefix may need to be used when using publishing services like GitHub Pages, GitLab Pages, and others when you aren't using a custom domain name.
Example
If you are publishing with a custom domain, such as https://example.com
, siteUrl
will be that URL.
publishing:
siteUrl: https://example.com
Backlinks