As someone who does a lot of work on the iPad, I have always wanted to be able to create efficient workflows for posting things to my various sites. This being a site that I own, it’s no exception.
One downside to moving the site from Wordpress to Hugo is that posting is basically a matter of putting the article content into a specific part of a markdown template, putting category and tag information into their designated part of the template, moving the edited file to the desired location for the post to appear, and recompiling the site with the “hugo” command.
I already knew I was going to make a shortcut to handle posting to the site for me, for the sake of ease and consistency. The beauty of automation is you never fat-finger a template edit and wind up having to fix something later when you notice. Also, …
I’m an avid user of Working Copy, the brilliant iOS Git client from Anders Borum. Apparently I still have a few things to learn about it though, as I discovered while listening to Episode 71 of the excellent iPad Pros podcast.
It turns out that in order to solve the problem of being able to browse and work with Working Copy repos from directly within Panic Code Editor (another iOS app that I use every day), Anders bestowed upon Working Copy a built-in WebDAV server. Fire it up, create a server entry in Code Editor pointing to the WebDAV server IP, and get to work.
The best case scenario is that when Panic updates the app, they allow direct access through Files app integration, since Working Copy can act as a Files location provider, but in the meantime, this solution works pretty well.
Code Editor is kind of a 3-in-1 tool for working on websites:
- SSH client,
- FTP client,
- Text editor.
This is the perfect set of features for me for working with Hugo sites because I need to move files around (FTP), edit files (text editor), and compile the site to see my changes (SSH client).
Furthermore, I often use each of these features individually to do some quick task. The FTP functionality alone is pretty valuable ever since Panic discontinued their Transmit FTP app on iOS.
Code Editor is not perfect, however. I’m not going to say I’m hesitant to recommend it, because I’m not, but there are a couple caveats.
First, it’s not a new app and it will eventually be replaced by a new Panic product called Nova. Right …