discourse-category-banners/settings.yml

64 lines
972 B
YAML
Raw Normal View History

2020-09-24 15:44:49 -04:00
show_description:
2018-04-26 01:25:49 -04:00
default: true
2020-09-24 15:44:49 -04:00
show_mobile:
2018-04-26 13:01:44 -04:00
default: true
2020-09-24 15:44:49 -04:00
show_subcategory:
2018-04-26 13:01:44 -04:00
default: true
2020-09-24 15:44:49 -04:00
hide_if_no_description:
2018-04-26 14:01:28 -04:00
default: true
2018-04-26 13:01:44 -04:00
show_category_logo:
default: false
align_text:
default: center
type: "enum"
choices:
- center
- left
- right
2018-04-26 01:25:49 -04:00
exceptions:
2018-04-26 13:01:44 -04:00
default: ""
2018-04-26 01:25:49 -04:00
type: list
2020-09-24 15:44:49 -04:00
list_type: simple
categories:
type: objects
default: []
schema:
name: category
identifier: category_id
properties:
category_id:
type: categories
required: true
validations:
max: 1
target:
type: enum
default: all
choices:
- all
- no_sub
- only_sub
plugin_outlet:
default: "below-site-header"
type: "enum"
choices:
- "below-site-header"
- "above-site-header"
- "above-main-container"
- "header-list-container-bottom"
refresh: true
show_category_icon:
default: false
override_category_icon_color:
default: false