-
Hi there, Thank you for sharing such as nice theme. However, I have been trying to build and deploy Hextra to a GitHub page all night, but I haven't been able to make it work I've tried using the Hextra template and also tried building from scratch based on Hextra's instruction, but neither approach worked. On the local server (http://localhost:1313/) I can view the new site using I'm not sure if I need to convert the site to static with Hugo. But after trying I'm also not sure if the failure is because Hextra requires special flags like Could you please help me solve this? Or provide guidance on how to correctly deploy a blog with the Hextra theme on GitHub pages? I've been able to deploy other themes based on Hugo to GitHub pages successfully. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
@wlin16 please start with the hextra-starter-template repo. In the README, there's a Deployment section that tells you how to deploy to GitHub Pages:
To clarify:
I recommend using the GitHub action I provided in the template repo. You don't need to convert the site to static locally using Hugo.
No, these flags are not required to build the site.
After that, you should at least see a site that looks exactly like the template site. And you can start modifying files from there. |
Beta Was this translation helpful? Give feedback.
It was caused by GitHub Pages settings where the deployment source was set to
main
instead ofGitHub Actions
:Set to
GitHub Actions
would fix the problem.