type
GlobalAdmin
Serializable presentation metadata for a global.
Properties
| Property | Type | Description |
|---|---|---|
Hidden | bool | Hidden leaves the global out of the admin navigation, dashboard and search, and its admin route shows not-found. It is presentation, not security, and changing it needs no migration. |
Group | string | Places the global under an author-facing navigation group. |
GroupTranslations | map[string]string | Translated navigation groups. |
Description | string | Explains the singleton to authors. |
DescriptionTranslations | map[string]string | Translated singleton descriptions. |
LivePreview | LivePreviewConfig | Configures the editor preview URL and viewports. |
Full signature
type GlobalAdmin struct {
// Hidden leaves the global out of the admin navigation, dashboard and
// search, and its admin route shows not-found. It is presentation, not
// security, and changing it needs no migration.
Hidden bool
Group string
GroupTranslations map[string]string
Description string
DescriptionTranslations map[string]string
LivePreview LivePreviewConfig
}