github AndyHazz/bookends.koplugin v5.3.0
Bookends 5.3.0

latest releases: v5.22.0, v5.21.0, v5.20.0...
3 months ago

Bookends 5.3.0

Multi-author book handling and a more consistent Wi-Fi icon, plus migration recipes for both.

New

  • %authors (plural) renders all authors, joined with , . Multi-author books now display as Ada Lovelace, Charles Babbage, Alan Turing rather than the previous raw newline-separated form.
  • %author_1, %author_2, … %author_5. Pick a specific author by position. %author_1 is equivalent to %author; the rest expand to empty if the book has fewer authors. Useful for layouts that style the lead author differently from co-authors.
  • [if:authors>1] count conditional. Pair with the et al. pattern: [if:authors>1]%author, et al.[else]%author[/if] shows "Author Name, et al." for multi-author books and just the single name otherwise. [if:author_2] (truthy) is a shorter way to say "if the book has a second author".

Changes

  • Wi-Fi icon now always renders. Previously hidden when Wi-Fi was disabled, the icon now shows the slashed glyph in that state so its position no longer collapses unexpectedly. To restore the old hide-on-off behaviour, wrap the token: [if:wifi=on]%wifi[/if]. To show only when fully connected: [if:connected]%wifi[/if].
  • %author now shows the first author only. For most users this is a fix; multi-author books previously rendered with literal line breaks at the author position. If you specifically want the joined form, the new %authors token does that.

Migration

  • Old %author (all authors joined): use %authors
  • Old %wifi (hidden when Wi-Fi off): use [if:wifi=on]%wifi[/if]
  • Single-author books and presets that don't reference %author or %wifi are unaffected.

Don't miss a new bookends.koplugin release

NewReleases is sending notifications on new releases.