Skip to content

Releases: Fokke-/MarkupMetadata

1.2.4

02 Dec 10:16
4cf65d8
Compare
Choose a tag to compare

Bug fixes

  • Convert image_fallback_page to ID if Page was provided

1.2.3

06 Mar 12:40
5fcfbcc
Compare
Choose a tag to compare

If keywords is an array, convert it to a comma-separated string.

1.2.2

21 Sep 14:12
552f74e
Compare
Choose a tag to compare

Fixed page URL trailing slashes when urlSegmentsStr is set but current page does not use URL segments.

1.2.1

14 Oct 16:53
Compare
Choose a tag to compare
  • Fixed page URL rendering when trailing slashes are disabled in template configuration

1.2.0

26 May 12:22
Compare
Choose a tag to compare
  • Added support for image alternative text using custom fields in images
  • Added support for inheriting image from the nearest parent page (including home page)
  • Added support for fallback page for image. If the image cannot be found from the current page (and possibly enabled inheritance fails), the module will try to find the image from the given page. You can use this to define default image for all pages.
  • Fixed crash when supplying an invalid image width or height

Note that module now requires PW 3.0.142 or later, as custom fields for image and file fields were introduced in that version.

1.1.3

21 May 14:17
Compare
Choose a tag to compare
  • Fixed crash when an empty PageImages object is being used as an image
  • Render Twitter tags by default

1.1.2

09 Sep 17:24
Compare
Choose a tag to compare
  • Truncate description using $sanitizer->truncate() method
  • Added properties: description_max_length and description_truncate_mode
  • Due to the usage of truncate method, the module now requires PW >=3.0.101
  • Image added using API will be resized
  • Validate image object before resizing it
  • Added API notes for all fields in module configuration
  • Documentation fixes

1.1.1

05 Sep 16:46
Compare
Choose a tag to compare
  • Add separate fields for twitter:site and twitter:creator
  • Field descriptions are now more consistent with documentation

1.1.0

05 Sep 15:06
173fca6
Compare
Choose a tag to compare

Updates

  • Added documentation
  • Re-organized module configuration fields
  • Refactored method for adding new meta tags with support for inline content (used for <title> tag)
  • Proper handling for image fields with multiple items
  • Hreflang links now include page URL segments (if any)
  • Separator for page title and site name in document title is now configurable

Breaking changes

  • All property names are now in snake_case

1.0.8

10 Aug 08:55
Compare
Choose a tag to compare
Remove unnecessary  var