Reputation: 31
So my hugo site is working on localhost and doesn't work on github pages.
My repo is at: https://github.com/ba789/ba789.github.io
Upvotes: 3
Views: 1915
Reputation: 1328552
You can follow the Hugo documentation "Host on GitHub", but you would need two different repositories:
As mentioned in the GitHub Pages documentation, you can host a user/organization page in addition to project pages.
Here are the key differences in GitHub Pages websites for Users and Organizations:
- You must use a
<USERNAME>.github.io
to host your generated content- Content from the main branch will be used to publish your GitHub Pages site
This is a much simpler setup as your Hugo files and generated content are published into two different repositories.
Upvotes: 2