discourse-custom-header-links/settings.yml

52 lines
908 B
YAML

custom_header_links:
type: objects
default: []
schema:
name: "link"
identifier: text
properties:
text:
type: string
required: true
validations:
min_length: 1
max_length: 100
title:
type: string
validations:
min_length: 1
max_length: 1000
url:
type: string
required: true
validations:
min_length: 1
max_length: 2048
url: true
view:
type: enum
choices:
- vdm
- vdo
- vmo
target:
type: enum
choices:
- blank
- self
hide_on_scroll:
type: enum
choices:
- remove
- keep
default: keep
locale:
type: string
links_position:
default: right
type: enum
choices:
- right
- left