gscan
gscan copied to clipboard
GS100-NO-UNUSED-CUSTOM-THEME-SETTING ignores `/partials` directory
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?