# content_for_header

> content_for_header Liquid 对象：输出 Shoplazza 所需的全部脚本，必须放在主题 layout 文件的 head 标签内。

动态返回 Shoplazza 所需的所有脚本。

请将 `content_for_header` object 包含在 [layout 文件](/docs/theme/architecture/layouts/overview)的 `<head>` 和 `</head>` HTML 标签之间。

您不应尝试修改或解析 `content_for_header` object，因为其内容可能会发生变更，进而影响代码的行为。

:::note
`content_for_header` object 在 `theme.liquid` 中为必填项。
:::

```liquid title="theme.liquid"
<!DOCTYPE html>
<html>
  <head>
  	<!-- ... -->
  	{{ content_for_header }}
  </head>
  <body>
    <!-- ... -->
  </body>
</html>
```
