v3.4.0
{warning} This update contains some potentially breaking changes. If you use a custom
meta.twigtemplate you should review the changes here.
Added
- Added
getSeoField($handle = 'seo')Twig function for Site templates. - Added global settings for Facebook App ID and Twitter handle.
Changed
- SEO field data is now used via an
SeoDatamodel, rather than an array. This may cause breaking changes, especially if you have a custommeta.twigtemplate! - The default
robots.txtnow disallows all when the environment is NOT set to'production'.
This will not have an effect for existing installs (where the SEO settings have been saved).
To manually update yourrobots.txt, replace the line{% if craft.app.config.general.devMode %}with{% if craft.app.config.env != 'production' %}. #122 - Redirects are no longer case-sensitive #116
Fixed
- SEO no longer errors if a social image doesn't have a public url. #131
- Protocol relative image URLs are now handled correctly. #125, #126 (via @monachilada)