Skip to content

Reference to JavaScript in the stylesheet tag description #71

Open
@edward-matthews

Description

Summary
The description for the stylesheet tag is essentially identical to to that of thejavascript tag with references to javascript/JavaScript changed to stylesheet/CSS but one of the references has been missed.

Expected
"You need to use these tags only if your section or app block is meant to be installed on multiple themes or stores. Otherwise, you should include the CSS that your section needs in your theme's assets directory. Each section or app block can have only one {% stylesheet %} tag.\n\nTo learn more about how section-specific CSS is loaded and run, refer to the documentation for sections.\n> Caution:\n> Liquid isn't rendered inside of {% stylesheet %} tags. Including Liquid code can cause syntax errors."

Actual
"You need to use these tags only if your section or app block is meant to be installed on multiple themes or stores. Otherwise, you should include the JavaScript that your section needs in your theme's assets directory. Each section or app block can have only one {% stylesheet %} tag.\n\nTo learn more about how section-specific CSS is loaded and run, refer to the documentation for sections.\n> Caution:\n> Liquid isn't rendered inside of {% stylesheet %} tags. Including Liquid code can cause syntax errors."

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions