diff --git a/CHANGELOG.md b/CHANGELOG.md index 07bf33f..648963d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +### 2.1.1 +- [Fixed] Fixed hide social switch always showing as off, even when it should be on + ### 2.1.0 - [Fixed] Fixed first paragraph check returning both positive and negative #64 (via @jtenclay) - [Fixed] Snippet description now has minimum height diff --git a/seo/templates/_seo/settings.twig b/seo/templates/_seo/settings.twig index 666ea32..d1c6c11 100644 --- a/seo/templates/_seo/settings.twig +++ b/seo/templates/_seo/settings.twig @@ -41,6 +41,6 @@ instructions: 'Will hide the social meta tab when switched on. This is useful if you have pre-existing social media fields.', name: 'hideSocial', id: 'hideSocial', - value: "hideSocial" in settings and settings.hideSocial is defined ? settings.hideSocial : false, + on: "hideSocial" in settings|keys and settings.hideSocial is defined ? settings.hideSocial : false, }) }} {% endif %} \ No newline at end of file