Skip to content

Commit

Permalink
Remove structured json metadata (Fixes mozilla#13618)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson committed Sep 15, 2023
1 parent def84da commit 356a4ae
Show file tree
Hide file tree
Showing 76 changed files with 2 additions and 1,295 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
browser: true,
commonjs: true
},
extends: ['eslint:recommended', 'plugin:json/recommended', 'prettier'],
extends: ['eslint:recommended', 'prettier'],
ignorePatterns: ['contentful_migrations/migrations/*.cjs'],
rules: {
// Require strict mode directive in top level functions
Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,5 @@ repos:
hooks:
- id: eslint
additional_dependencies:
- "eslint-plugin-json@3.1.0"
- "eslint-config-prettier@8.8.0"
# Additional excludes in /.eslintignore file
8 changes: 0 additions & 8 deletions bedrock/base/templates/base-protocol.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,6 @@
{% block js %}{% endblock %}

{% block third_party_js %}{% endblock %}

{% if self.structured_data()|trim|length %}
<script type="application/ld+json">
{% endif %}
{% block structured_data %}{% endblock %}
{% if self.structured_data()|trim|length %}
</script>
{% endif %}
<!--<![endif]-->
</body>
</html>
Loading

0 comments on commit 356a4ae

Please sign in to comment.