shopify-theme-inspector icon indicating copy to clipboard operation
shopify-theme-inspector copied to clipboard

Style {% render %} snippets the same as {% include %}

Open sdn90 opened this issue 4 years ago • 2 comments

Currently, when using {% include %}, the item in the flame graph is yellow.

The same does not happen when using {% render %}.

Screen Shot 2020-04-21 at 6 53 56 PM

sdn90 avatar Apr 22 '20 01:04 sdn90

👋 Welcome to the community and thank you for the issue.

ghost avatar Apr 22 '20 01:04 ghost

{% include %} is depreciated (changelog) in favor of {% render %} since the render tag is encapsulated

So the two should probably not be the same color , possibly any depreciated systems like {% include %}'s should always have the most emphasized coloring.

PaulNewton avatar May 31 '20 19:05 PaulNewton