Static Blogging from the iPad
baty.net is currently a static site, built using Hugo and served by Netlify. In order to publish, I have to create a text (markdown) file in a certain folder, with a bit of specific YAML front matter. Then, I have to commit the changes and push to its Gitlab repo. Netlify takes it from there.
Since the entire site also lives in Dropbox, creating the file is pretty simple on the iPad. It’s the commit/push part that’s a little trickier.
Using Blink Shell, I can shell into one of my servers and create and edit files using Vim, which I love. Once complete, I just commit and push right from the terminal session and Boom!, published.
To make that last part easier I have a make
file that looks like this…
|
|
I don’t get a handy preview in the browser via hugo server
this way, but it’s
not bad.