Web log --> weblog --> blog
cp .env.sample .env # and then populate
npm i # for publishing to cloudflare pages
brew install hugo # for building site
hugo
or for development
hugo server
npm run login # only required once in a while
npm run publish
This will
- "build" (i.e. copy public files into /build directory)
- publish to Cloudflare pages
hugo new drafts/my-new-post.md
Interestingly, the .md
is critical in this command. Without it, Hugo won't know which archetype to use.