avatar

Scott Willsey

iOS nerd, old school computer guy

Hugo Shortcode For Custom Image Handling

On my generously sized list of improvements I need to make to this site are a couple of image handling items. I crossed off one of those today, after going down a Rabbit Hole while writing another post that I intended to publish today instead of this one.

Up until now, when I’ve put a screenshot image in a post on this site, I’ve just linked to it directly, which causes a couple issues. First, there’s the image sizing issue – screenshots are high resolution and so appear massive when just linked to inline like that. Second, alignment preferences and captioning can be an issue.

Hugo does have a figure shortcode, but as far as I can tell, it doesn’t have any way to set the image alignment. It does support setting a css class for the figure, but I couldn’t find a a way using css to actually …

(Read More)

  MacStories Shortcuts Icons    

This might fall into the frivolous category for a lot of people, but I make a lot of home screen icons for shortcuts I use frequently, so I enjoy the MacStories Shortcuts Icons tremendously.

I’ll even admit to going a little nutty and replacing several of my app icons on my iPhone home screen with them, using them as app launchers rather than icons for shortcuts, but that’s another story. I wouldn’t recommend that for most people, as it makes opening an app into a bounce-through-shortcuts experience.

Still, it’s fun to experiment with alternate looks that Apple won’t give us.

But if you create lots of shortcuts and put icon shortcuts to your actual shortcuts (whew!) on your home screen, these will help give personality to them as well as make them easily and quickly identifiable for you.

(Read More)

  Permalink

Shortcuts for Blog Posting – Taxonomies

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 …

(Read More)

More things I said recently: