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

liquid render issues #3457

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

skmohotasin
Copy link

@skmohotasin skmohotasin commented May 4, 2024

PR Summary:

The liquid undefined issues in the theme have been resolved to prevent potential server-side render blocking, ensuring smooth performance. This update does not involve any visual changes.

Fixes and Improvements:

  • Resolved all liquid undefined issues in the theme to avoid possible server-side render blocking.

Why are these changes introduced?

Created 2 snippets for theme.liquid just make them better arrangeable.

{%- render 'font-face' -%}
{%- render 'css-variable' -%}

Shopify theme Check issue report:

203 files inspected with 16 total offenses found across 9 files. 2 errors.
14 warnings
All are fixed.

Fixed all the liquid error and warnings as per theme checker shown.

Visual impact on existing themes:

There is no visual impact on theme

Checklist

Theme Check Summary.
203 files inspected with 16 total offenses found across 9 files.
2 errors.
14 warnings
@skmohotasin
Copy link
Author

I have signed the CLA!


{%- render 'meta-tags' -%}
{%- render 'font-face' -%}
{%- render 'css-variable' -%}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make font-face and css-variable be plural like how it is on meta-tags

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants