Jekyll is a popular static site generator that I’m using to develop the new Decipher SciFi site. It’s pretty sweet.
Normally, Jekyll’s include tag can only search for files in the site’s single configured includes directory (and that of the theme plugin, if it using one). That means that if a plugin wants to provide you with a template/fragment via includes, the best it can do is ask you to copy it into your own repo manually. That sucks.
So I wrote jekyll-plugin-include: a gem-based Jekyll liquid tag plugin which allows includes directly from plugins’ _include directories, with optional ability to override with files present in site includes_dir (if they exist).
This plugin then makes it easy to use includes that ship with a plugin directly from a plugin. And if a modified version of the file is provided in the site’s own includes directory, it can intelligently use that one instead!
And for plugin developers, this could provide a way to ship and use includes without leaning on the user to manage the unmodified files themselves.
<edit> A couple of days after this release, the people behind Frinkiac released their own site that does the same thing as Memeseeks, but with a nicer UI. (︶︹︺)
I’m a bit sad that I completed a thing and then saw it made obsolete two days later, but at least I probably learned a few things along the way. So I’ve retired Memeseeks, though I hope to modularize all of its functionality and release the code at some point.</edit>
Just in time for the new season of Rick & Morty (as well as our own episode on the matter), we just released this thing we’ve been working on:
It’s a Rick & Morty memer and giffer (pronounced like the peanut butter ?). We’ve been saying at Decipher Scifi that we were working on a few things behind the scenes, and this was one of them. I’m glad to finally have it out there. 🙂
So meme away, and I hope you like it, and make sure you’re subscribed to the podcast for our Rick & Morty episode in a few days!