Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.03 KB

README.md

File metadata and controls

17 lines (12 loc) · 1.03 KB

brunch-with-hugo

A boilerplate wrapping Hugo using Brunch

OK I cloned the repo, now what?

First run npm install pls.

How do I run a local server?

npm start will start the server for both Brunch and Hugo. Brunch runs your JS through Babel and also compiles your postcss.

One more thing

I included the entirity of shoelace.css because it was easier, but I don't recommend using it all. Pick out the bits you want from https://github.com/claviska/shoelace-css/blob/master/source/css/shoelace.css and import those. I usually just use the variables, content, forms, tables, and utilities.

P.S.

You can use this with Hugo's nifty --skeleton flag like brunch new --skeleton https://github.com/Jayphen/brunch-with-hugo.git <projectname>. That will create a project, run an npm install for you, and BAM you have a shitty boilerplate thanks to me!

P.P.S

Go check out the Hugo docs and make something better than this because you're smarter than me.