Skip to content

Commit

Permalink
Fixed #99
Browse files Browse the repository at this point in the history
  • Loading branch information
Tam committed Jun 25, 2018
1 parent 9abd5b6 commit 0c16162
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
## 3.3.0 - 2018-05-25
**Heads up:** This update includes changes to the SEO `meta.twig`. If you are using a custom version you can review the changes [here](https://github.com/ethercreative/seo/commits/v3/src/templates/_seo/meta.twig).

### Fixed
- Fixed field settings throwing deprecation warning #109
- Fixed invalid sitemap urls
- Robot lightswitches now have a min-width #103
- Fixed TypeError in SEO variable when social image doesn't have a transform URL #101
- Fixed SEO hook throwing an error when a populated SEO field was removed from the current element #99

### Changed
- Redirect list moved below "Add Redirect" fields #107
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_seo/meta.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{# SEO Start #}
{%- if seo is not defined and entry is defined and entry["seo"] is defined %}
{%- if seo is not defined and entry is defined and entry["seo"] is defined and entry.seo is iterable %}
{% set seo = entry.seo %}
{% endif %}
{% if seo is not defined or seo is null or seo.title == "" %}
Expand Down

0 comments on commit 0c16162

Please sign in to comment.