I’ve got my blogging workflow down. I’m using the excellent Bear app to write the content, Hugo to generate static html/css files, and git to sync work between my Mac and Linux machines.
- Write post in Bear on the Mac (don’t include a title, Hugo will add this).
- Export as Markdown.
- Create a new post in Hugo to create a Markdown stub containing Hugo front matter.
cat
the post file to the Hugo stub.- Run Hugo build script (includes syncing with AWS S3).
git push