ContentForHeaderModification

Version 0.9.0+

Identifies code that tries to parse content_for_header.

You shouldn't rely on the content of content_for_header as it might change in the future, which could cause your Liquid code behavior to change.

Examples

Below are examples of code that fails and passes this check.

✗ Fail

The following code extracts content from content_for_header.

✓ Pass

Below is the only acceptable usage of content_for_header.

Disabling this check

Disabling this check isn't recommended.