-
Notifications
You must be signed in to change notification settings - Fork 6
Base Url
joe.c.starr edited this page Jan 25, 2024
·
1 revision
When editing be careful to write correctly formatted YAML. In YAML indentation matters. A short intro to YAML can be found here.
The base URL field tells hugo what the beginning of a url on your page should look like. For example if you configure:
baseURL: "example.com"
a link to the blog section on your page will be:
http://example.com/blog
Github offers a free subdomain option as part of the pages program. To configure the free option replace <github username>
with your github username:
baseURL: "https://<github username>.github.io"
For a custom url replace <url>
with your domain name
baseURL: "https://<url>"