TemplateLength
Deprecated
This check only exists in Theme Check v1.X.X.
Deprecated:
This check only exists in Theme Check v1.X.X.
Identifies large Liquid template files. To avoid large template files, use snippets to componentize your theme.
Anchor to OptionsOptions
TemplateLength
enabledtrue
max_length600
exclude_schematrue
exclude_stylesheettrue
exclude_javascripttrue
| Parameter | Description |
|---|---|
| enabled | Whether this check is enabled. |
| max_length | The maximum number of lines allowed inside a Liquid template. |
| exclude_schema | Whether the schema lines in a template should be excluded from the line count. |
| exclude_stylesheet | Whether the stylesheet lines in a template should be excluded from the line count. |
| exclude_javascript | Whether the JavaScript lines in a template should be excluded from the line count. |
Anchor to Disabling this checkDisabling this check
This check is safe to disable.
Was this page helpful?