Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference to JavaScript in the stylesheet tag description #71

Open
edward-matthews opened this issue Dec 20, 2022 · 0 comments
Open

Reference to JavaScript in the stylesheet tag description #71

edward-matthews opened this issue Dec 20, 2022 · 0 comments
Labels
Bug Something isn't working

Comments

@edward-matthews
Copy link

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."

@edward-matthews edward-matthews added the Bug Something isn't working label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant