This is using Victor Hugo as the static site generator with Gulp, Weback, PostCSS and many more.
Be sure that you have the latest node, npm and Hugo installed. If you need to install hugo, run:
brew install hugoNext, clone this repository and run:
npm install
npm startThen visit http://localhost:3000/ - BrowserSync will automatically reload CSS or refresh the page when stylesheets or content changes.
To build your static output to the /dist folder, use:
npm run buildTo index the site locally simply run:
npm run indexIt auto-indexes on build in production.
Push your clone to your own GitHub repo, then start a new netlify project, pick your repository and configure it like this:
- Build Command: npm run build
- Directory: dist
Now netlify will build and deploy your site whenever you push to git.