gscan icon indicating copy to clipboard operation
gscan copied to clipboard

GS100-NO-UNUSED-CUSTOM-THEME-SETTING ignores `/partials` directory

Open unitof opened this issue 11 months ago • 0 comments

The "Custom theme settings defined in package.json must be used at least once in the theme templates" test explicitly ignores them files located in /partials, including /partials/content-cta.hbs.

One of the Ghost Docs examples demonstrates using custom variables to make the CTA text user-editable, but doing so on my theme is now causing it to fail validation because gscan is not seeing the CTA variables used.

Why does gscan ignore partials/*?

Should custom variables related to CTA be used somewhere other than partials/content-cta.hbs and imported?

unitof avatar Mar 02 '24 21:03 unitof