So, at some point I am gonna come back to the bookshelves plugin and touch it up with some of the techniques and best practices I've developed as I've created additional plugins. As it stands, I want to start with two things.
- Check to make sure the plugin version as listed in the plugin.json is 6.0.0 so we can rule out an intermediate build that I corrected along the way.
- Let's try replacing the use of the plugin parameter interface with the use of a data file stored in the plugin.
From Design → Edit Custom Themes select the plugin and create a new template with location data/plugin_bookshelves/bookshelves_data.toml
.
Use the following as a starting point (where the asterisks in the description values are simply Markdown to render italics).
CoverWidth = 100
InitialView = 'grid'
[[bookshelves]]
key = "currentlyreading"
description = "*Books I am somewhat in the process of reading*"
[[bookshelves]]
key = "finishedreading"
description = "*Books I've managed to get myself to read*"
[[bookshelves]]
key = "wanttoread"
description = "*Books that gaze at me judingly from beneath the television, where they currently live, for having yet to crack their spine (f$&kers).*"
[[bookshelves]]
key = "didwanttoread"
description = "*Books whose gaze of judgement I've kinda become okay with as my interest in reading them has waned.*"