Comments (7)
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 npm run build
. GitHub provides a starter template.
I'm not sure how familiar you are with GitHub actions. Let me know if you need any further help.
from hinode.
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.
from hinode.
No worries, Hugo can be pretty intimidating in the beginning. You should adjust baseURL
in the file config/default/config.toml
too. It probably still points to the demo page of Hinode. You could share your repository if you're still stuck, so I can have a look at it.
I'm working on a more elaborate documentation, but it's still work in progress.
from hinode.
Thanks!
This is the Github repository I'm using, it's literally a clone from the original, except that I changed baseURL
to https://magical-torrone-3d2095.netlify.app
It seems to break the layout when I deploy to Netlify
Edit: Note, it appends en
to the URL. When I manually remove the en
it redirects to the demo site.
from hinode.
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 Use this template
to instantiate a repository. The child theme uses a npm reference to the main theme of Hinode, and has far less source files in its repository. It will keep your personal repository more tidy.
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
from hinode.
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.
from hinode.
Cool, thanks a lot for your help!
from hinode.
Related Issues (20)
- [BUG] Fix menu icons HOT 1
- [BUG] Error while running pristine site with hugo v0.123.8 HOT 2
- Add layouts for author pages
- [BUG] Break optional scripts HOT 3
- [BUG] `includeToc: true` does not include a ToC
- [BUG] proper format for the search bar HOT 3
- [BUG] Fix Google Analytics configuration
- [BUG] Automated test not compatible with GHA macOS 14
- npm dependencies conflict in template HOT 9
- Pagination works only in the homepage [BUG] HOT 7
- How I can import the exampleSite content to a clean Hinode installation?
- Add support for native Bootstrap forms
- Make module configurations loosely coupled HOT 3
- [BUG] Support deployment to folder HOT 8
- [BUG] menu items links in navigation bar are incorrect HOT 2
- [BUG] Reduce screen flickering in color mode
- [BUG] Sidebar menu does not support multiple languages HOT 1
- [BUG] Sidebar does not support links to external pages
- [BUG] "Last updated" string is not localized with i18n HOT 2
- Save and get the selected language just as the theme switch HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hinode.