It took a little work, but I managed to get iA Writer, Working Copy, and Shortcuts to play nice and create a new Hugo post on mobile. I’d toyed with the idea of adopting dynamic APIs that mutated a checkout of the site and such but there was always some extra difficulty and the whole point of going static was to avoid that nonsense.
The short of it is:
- Ask for Text with “Post Title”
- Current Date
- Format Date (Current Date, ISO)
- Text (your stub post goes here, frontmatter and all)
- Replace “[^\w\s]+” with “-” in “[step 1]”
- Change “[step 5]” to “lowercase”
- Format “Current Date” as “yyyy-MM-dd”
- Set name of “[step 4]” to “[step 7]-[step 6].md”
- Save “[step 8]” to “[Working Copy path to content dir]”
- Open “Saved File” in “iA Writer”
After watching yesterday’s Apple Event and reading around a bit at the reactions, I’ve become concerned for the future of the Mac, at least in the hands of the current leadership at Apple.
For a long time we — creatives, power users, and developers, the “Pro” in the product names — felt the fear that Apple’s success in iOS would manifest itself with a locked-down Mac and candy icons on the screen. While that does not appear to have passed, something far more damaging has: Apple completely forgot why people used Macs.
After installing the GMs to Sierra and Friends I was eager to try out the Auto Unlock feature with the Watch as passwords generally suck and re-entering them time and again sucks more.
With all my devices on the same Apple ID and updated, I went to the Security prefs on the Mac and lo … no option for it. After reading around I learned all the devices must be marked as Trusted in iCloud, which means you need Two-Factor Authentication (not Two-Step). I set this up and re-added each device to iCloud until they were marked appropriately. Still no option on the Mac.