blob: a77b585cb37d044609b5f56a5c6d69203140e2eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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:
```bash
npm install
npm start
```
Then visit http://localhost:3000/
To build your static output, use:
```bash
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.
|