Skip to content

v1.1.0

Choose a tag to compare

@timnarr timnarr released this 29 Oct 15:11
· 8 commits to main since this release

Added

Field Methods:

  • autoLinkTitles(): Automatically adds title attributes to links if not already present. The title value is generated from the href attribute.

Helper Functions:

  • autoLinkTitles(): Processes HTML string and automatically adds title attributes to all tags (if not already present)
  • getMissingTranslations(): Returns an array of language codes for which the page translation does not exist

Page Methods:

  • getMissingTranslations(): Get missing translations for a page
  • missingTranslationsBadge(): Generate a Kirby Panel info badge showing translation status (green badge if all translations exist, red badge with missing language codes)

Changed

  • Field methods (ensureLeft(), ensureRight(), autoLinkTitles()) now return a Field object instead of a string, enabling method chaining
  • Updated and expanded documentation in README.md

Full Changelog: v1.0.0...v1.1.0