scripts
Page-level JavaScript files to load after the site-level scripts. Each entry is an object that describes the script tag to render.
| Property | Details |
|---|---|
| Type | {url: string, type?: string, defer?: boolean, cache?: boolean, integrity?: string}[] |
| Accepted values |
|
Example
scripts:
- url: "/js/page-specific.mjs"
type: "module"
cache: true
- url: "https://cdn.example.org/widget.js"
defer: true
integrity: "sha384-abc123..."