Helpful scripts for Hugo
- bin/ - these helpful scripts
- src/ - your hugo site source
- release/ - packaged site destination
Usage: bin/create-blog.sh [-d YYYYMMDD] <filename.md>
Creates a new empty draft blog post and related static content directory. Defaults to current date if not specified.
- content/blog/YYYYMMDD/filename.md
- static/blog/YYYYMMDD/
Usage: bin/package-site.sh
Regenerate content in src/public, packaging as a gzipped tar archive.
Usage: bin/deploy-site.sh <file.tar.gz>
Deploy a gzipped archive contents to a specified directory.