This repository has been archived on 2020-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Mathias Biilmann Christensen 941456dde1 Notify through browserSync when hugo build fails 2016-07-22 17:05:18 -07:00
site User browserSync instead of webpack dev server 2016-07-21 10:33:50 -07:00
src User browserSync instead of webpack dev server 2016-07-21 10:33:50 -07:00
.babelrc Update dependencies and add a short README 2016-07-05 11:38:18 -07:00
.eslintrc User browserSync instead of webpack dev server 2016-07-21 10:33:50 -07:00
.gitignore Basic setup - gulp + webpack + hugo 2016-07-03 15:07:47 -07:00
README.md Updated readme 2016-07-21 10:35:32 -07:00
gulpfile.babel.js Notify through browserSync when hugo build fails 2016-07-22 17:05:18 -07:00
package.json User browserSync instead of webpack dev server 2016-07-21 10:33:50 -07:00
webpack.conf.js User browserSync instead of webpack dev server 2016-07-21 10:33:50 -07:00

README.md

Hugo with PostCSS and Babel

This is a boilerplate for using Hugo as a static site generator and Gulp + Weback as the asset pipeline.

It's setup to use post-css and babel for CSS and JavaScript.

Usage

Clone this repository and run:

npm install
npm start

Then visit http://localhost:3000/

To build your static output, use:

npm run build

Deploying to netlify

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.