--- title: DuplicateContentForArguments description: Ensures no duplicate arguments are provided when rendering a static block. source_url: html: https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-content-for-arguments md: https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-content-for-arguments.md --- ExpandOn this page * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-content-for-arguments#examples) * [Options](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-content-for-arguments#options) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-content-for-arguments#disabling-this-check) # DuplicateContentForArguments Each named argument should be passed into the `content_for` tag only once. *** ## Examples The following examples contain code snippets that either fail or pass this check. ### ✗ Fail The following example will fail because it contains two identically named arguments: ```liquid {% content_for 'block', type: 'example-block', some_input: 'text', some_input: 'more text' %} ``` ### ✓ Pass The following example will pass because the arguments have different names: ```liquid {% content_for 'block', type: 'example-block', some_input_1: 'text', some_input_2: 'more text' %} ``` *** ## Options The following example contains the default configuration for this check: ```yaml DuplicateContentForArguments: enabled: true severity: warning ``` | Parameter | Description | | - | - | | `enabled` | Whether this check is enabled. | | `severity` | The [severity](https://shopify.dev/docs/storefronts/themes/tools/theme-check/configuration#check-severity) of the check. | *** ## Disabling this check Disabling this check isn't recommended. *** * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-content-for-arguments#examples) * [Options](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-content-for-arguments#options) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-content-for-arguments#disabling-this-check)