Demas ajustes
This commit is contained in:
@@ -9,10 +9,16 @@
|
||||
{% render 'delay-header-scripts', html: shopify_header %}
|
||||
{% enddoc %}
|
||||
|
||||
{% capture blocking_style %}rel="stylesheet" media="screen"{% endcapture %}
|
||||
{% capture deferred_style %}rel="stylesheet" media="print" onload="this.media='all'"{% endcapture %}
|
||||
|
||||
{% liquid
|
||||
if request.design_mode or html == blank
|
||||
echo html
|
||||
else
|
||||
assign blocking_style = blocking_style | strip
|
||||
assign deferred_style = deferred_style | strip
|
||||
assign html = html | replace: 'media="screen"', 'media="print" onload="this.media='all'"'
|
||||
assign chunks = html | split: '<script'
|
||||
for chunk in chunks
|
||||
if forloop.first
|
||||
|
||||
Reference in New Issue
Block a user