Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.04 KB

content_for_header_modification.md

File metadata and controls

42 lines (27 loc) · 1.04 KB

Do not depend on the content of content_for_header (ContentForHeaderModification)

Do not rely on the content of content_for_header as it might change in the future, which could cause your Liquid code behavior to change.

Check Details

👎 Examples of incorrect code for this check:

{% assign parts = content_for_header | split: ',' %}

👍 Examples of correct code for this check:

The only acceptable usage of content_for_header is:

{{ content_for_header }}

Check Options

The default configuration for this check is the following:

ContentForHeaderModification:
  enabled: true

Version

This check has been introduced in Theme Check 0.9.0.

Resources