Be able to process the assets for a hugo based website using gulp, and serve them via Netlify. Contributors to the content of this site cannot be assumed to have anything installed locally besides the hugo binary.
.
+-- content
+-- data
+-- static
+-- themes
+-- gulpfile.js
+-- package.json
Contributors will work with the local repo setup as usual, and pay no attention to the gulpfile
or package.json
files. They will use the hugo server -w
setting as usual for local testing.
A build script will be set for Netlify that will do the following things:
- build the static files to
public
as usual using thehugo
command - run gulp tasks against all the generated files in the
public
directory but with an output ofdist
The output directory for Netlify will bedist
Please comment on this gist with anything you see that looks like I am missing something?