Sha256: 5f22606d6a5f4989038a03b02c7519d20ed25a105230eba97b9eb0b5cf1062ed

Contents?: true

Size: 755 Bytes

Versions: 43

Compression:

Stored size: 755 Bytes

Contents

# Prevent missing required objects in theme.liquid (`RequiredLayoutThemeObject`)

## Check Details

This check prevents missing `{{ content_for_header }}` and `{{ content_for_layout }}` objects in `layout/theme.liquid`.

## Check Options

The default configuration for this check is the following:

```yaml
RequiredLayoutThemeObject:
  enabled: true
```

## Version

This check has been introduced in Theme Check 0.1.0.

## Resources

- [Shopify theme.liquid requirements][themeliquid]
- [Rule Source][codesource]
- [Documentation Source][docsource]

[codesource]: /lib/theme_check/checks/required_layout_theme_object.rb
[docsource]: /docs/checks/required_layout_theme_object.md
[themeliquid]: https://shopify.dev/docs/themes/theme-templates/theme-liquid

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
theme-check-1.15.0 docs/checks/required_layout_theme_object.md
theme-check-1.14.0 docs/checks/required_layout_theme_object.md
theme-check-1.13.0 docs/checks/required_layout_theme_object.md
theme-check-1.12.1 docs/checks/required_layout_theme_object.md
theme-check-1.12.0 docs/checks/required_layout_theme_object.md
theme-check-1.11.0 docs/checks/required_layout_theme_object.md
theme-check-1.10.3 docs/checks/required_layout_theme_object.md
theme-check-1.10.2 docs/checks/required_layout_theme_object.md
theme-check-1.10.1 docs/checks/required_layout_theme_object.md
theme-check-1.10.0 docs/checks/required_layout_theme_object.md
theme-check-1.9.2 docs/checks/required_layout_theme_object.md
theme-check-1.9.1 docs/checks/required_layout_theme_object.md
theme-check-1.9.0 docs/checks/required_layout_theme_object.md
theme-check-1.8.0 docs/checks/required_layout_theme_object.md
theme-check-1.7.2 docs/checks/required_layout_theme_object.md
theme-check-1.7.1 docs/checks/required_layout_theme_object.md
theme-check-1.7.0 docs/checks/required_layout_theme_object.md
theme-check-1.6.2 docs/checks/required_layout_theme_object.md
theme-check-1.6.1 docs/checks/required_layout_theme_object.md
theme-check-1.6.0 docs/checks/required_layout_theme_object.md