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 asAda Lovelace, Charles Babbage, Alan Turingrather than the previous raw newline-separated form.%author_1,%author_2, …%author_5. Pick a specific author by position.%author_1is 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]. %authornow 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%authorstoken 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
%authoror%wifiare unaffected.