Skip to content
HomePagesHomePages template kit

DisplayInput

The authored `display:` block: section `visibility` and `variant`, each an optional entry built by the `select(cases, opts)` display overload.

The authored display: block: section visibility and variant, each an optional entry built by the select(cases, opts) display overload. Omitting the block, or either entry, reproduces the defaults — always shown, no variant.

Import from @homepages/template-kit.

export interface DisplayInput {
visibility?: DisplayEntryInput;
variant?: DisplayEntryInput;
}