Released version 1.3.1 of Postlists for Micro.blog. Notable changes in this release are:
- A new
title-matches
attribute, which can be used to filter the list of posts to those with titles that match a regular expression. Check out the documentation on this for some examples. - Fixed an issue where using the shortcode without any attributes resulted in an empty list. The cause of this was Hugo returning some strange things when a shortcode is called without arguments.
I also clarified the documentation a little, particularly around the use of the alpha
sort order. Basically, if you have a collection of posts without titles, the alpha sort order may look a little strange, as it only uses the title when ordering posts. I’m not sure what I’m going to do to improve this — there’s no real way to sort based on post body — so in lieu of a fix, I just made sure to explain that. It’s not a great solution, but hopefully it’ll clear this behaviour up.
If you’ve got the Postlists plug-in installed, you should be able to upgrade to this version by going to the Plug-ins section in Micro.blog.