content_for_header
动态返回 Shoplazza 所需的所有脚本。
请将 content_for_header object 包含在 layout 文件的 <head> 和 </head> HTML 标签之间。
您不应尝试修改或解析 content_for_header object,因为其内容可能会发生变更,进而影响代码的行为。
📘 注意
content_for_headerobject 在theme.liquid中为必填项。
<!DOCTYPE html>
<html>
<head>
<!-- ... -->
{{ content_for_header }}
</head>
<body>
<!-- ... -->
</body>
</html>