directus-extension-seo
Version:
Directus SEO Extension enhance Directus with powerful SEO scoring and validator and AI SEO from ChatGPT
28 lines (27 loc) • 728 B
text/typescript
import { getSectionField } from "../../../../shared/utils";
export default [
...getSectionField(
{
title: 'Custom code',
field: 'custom_code'
},
[
{
field: 'header_code',
name: 'Header code',
meta: {
interface: 'input-code',
note: 'Code add to **`<head></head>`** tag'
}
},
{
field: 'footer_code',
name: 'Footer code',
meta: {
interface: 'input-code',
note: 'Code add to **`<body></body>`** tag'
}
},
]
),
]