Skip to content

Commit

Permalink
Merge branch 'release/4.0.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenckens committed Feb 5, 2024
2 parents d6b54c0 + e7f2e33 commit 836d082
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 4.0.4 - 2024-02-05
### Fixed
- Fixed an issue where the "Allow sitename to be hidden" option would not work ([#90](https://github.com/studioespresso/craft-seo-fields/issues/90))


## 4.0.3 - 2024-02-05
### Fixed
- Fixed a permissions issue on sites with multiple users and user groups
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "studioespresso/craft-seo-fields",
"description": "Fields for your SEO & OG meta data",
"type": "craft-plugin",
"version": "4.0.3",
"version": "4.0.4",
"keywords": [
"craft",
"cms",
Expand Down
13 changes: 8 additions & 5 deletions src/templates/_components/fields/_tabs/_general.twig
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,16 @@
name: name ~ "[siteName]",
value: value.siteName,
}) }}
{% endif %}


{% if field.allowSitenameDisable %}
{{ forms.checkboxField({
label: "Hide site name"|t("seo-fields"),
id: name ~ "-hideSiteName",
name: name ~ "[hideSiteName]",
checked: value.hideSiteName,
}) }}
label: "Hide site name"|t("seo-fields"),
id: name ~ "-hideSiteName",
name: name ~ "[hideSiteName]",
checked: value.hideSiteName,
}) }}
{% endif %}

<div class="field" id="{{ name ~ "-metaDescription" }}-field">
Expand Down

0 comments on commit 836d082

Please sign in to comment.