Install Doks theme with the default configuration.
Version
Hugo 0.108
Create New Site
$ git clone https://github.com/h-enk/doks-child-theme.git my-doks-site
git clone
a new site from Doks theme repository.
Install Dependencies
$ cd my-doks
$ npm install
Install Doks theme dependencies.
Development Mode
$ npm run start
Start web server under development mode.
Production Mode
$ npm run build
$ serve public
- Build HTML/CSS/JavaScript under production mode
- Start web server under production mode
Conclusion
- We don’t have to use
hugo new site
to create a new site, justgit clone
from Doks theme repository