Why is there no public folder and when I create it, it's in the gitignore? #290
-
Apologies for abusing the issue channel as a customer service. I'm trying to deploy Hinode on Github, but I keep seeing the "readme" content when opening the page. I followed this solution to create a public folder but I assume I'm working against how you intended it to be used? Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
I haven't deployed the theme to GitHub pages myself yet, mostly because it does not support configuration of security headers. However, have you tried following Hugo's deployment instructions? A key difference with the main Hugo site is that Hinode uses npm. The correct build command is I'm not sure how familiar you are with GitHub actions. Let me know if you need any further help. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply, I'm pretty much a beginner in Hugo and a self-taught dev overall. I tried Netlify instead of github, but in that case it always redirects to the demo page https://hinode-demo.markdumay.org/ I wanted to use the theme for a simple blog with some content and pics and figured I could just deploy and start modifying but deploying already proves harder than I thought. |
Beta Was this translation helpful? Give feedback.
-
No worries, Hugo can be pretty intimidating in the beginning. You should adjust I'm working on a more elaborate documentation, but it's still work in progress. |
Beta Was this translation helpful? Give feedback.
-
Thanks! This is the Github repository I'm using, it's literally a clone from the original, except that I changed It seems to break the layout when I deploy to Netlify Edit: Note, it appends |
Beta Was this translation helpful? Give feedback.
-
I noticed you used the main repository as starting point. Unless you plan to do a lot of customization, I suggest you use the child theme instead. There's button called Regarding the main repository, the main branch is unstable right now. I'm fixing quite a few issues, but the current version is still in alpha. If you prefer to use the main repository instead of the child repository, I suggest you use the latest stable branch: git clone --depth 1 --branch v0.7.9 https://github.com/markdumay/hugo-theme-hinode.git
cd hugo-theme-hinode
npm install
npm run start |
Beta Was this translation helpful? Give feedback.
-
I added documentation on how to deploy to Netlify. Hope this helps! I'm closing the issue for now, let me know if you need additional assistance. |
Beta Was this translation helpful? Give feedback.
-
Cool, thanks a lot for your help! |
Beta Was this translation helpful? Give feedback.
I added documentation on how to deploy to Netlify. Hope this helps! I'm closing the issue for now, let me know if you need additional assistance.