A boilerplate wrapping Hugo using Brunch and Browsersync
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
archetypes
content
layouts
public
static
.gitignore
LICENSE
README.md Get rid of browsersync coz it was causing problems Sep 14, 2017
brunch-config.js
config.toml
package-lock.json
package.json

README.md

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.