@email@example.com thanks for the reminder; slight oversight. the original post has been updated to include the code for the shortcode.
I spent a little time over the last day or so trying to bodge together a shortcode for Hugo to embed an instance of Mirador. While it’s not quite as simple (or full-featured) as I’d like, it’s nonetheless a starting point. The shortcode generates a snippet of HTML that gets loaded into Hugo pages, but (unfortunately) most of the heavy lifting is done by a separate static page that gets included as an
<iframe/>within the page. That page parses URL parameters to pass some of the parameters when Mirador gets instantiated.
Getting a consistent way to load multiple IIIF manifests, either into comparison view or for populating a resource list also needs some work, which also led me to grapple with thinking through the IIIF Content State API spec, which will require some more attention, too.
spitballing a mirador shortcode or partial for hugo, and thinking about the balance of configurability vs ease of use. also the shortcode/partial distinction is kind of confusing.
I migrated my site from Jekyll to Hugo. Indieweb-ifying Go templates is a heck of a lot easier than the pain of using Liquid. I also moved all of my old comments from Disqus to a static blob of JSON, using a forked version of Paul Hammant’s escape_from_disqus. How I handle new comments (non-Webmention or otherwise) is to come, but Tom Doe’s approach using Netlify Forms seems pretty neat.