-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsettings.yml
126 lines (108 loc) · 2.36 KB
/
settings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
show_on:
default: discovery
type: enum
choices:
- discovery
- homepage
- all
description: discovery refers to topic list pages
banner_links:
type: objects
default:
- icon: circle-info
text: about this site
url: /faq
- icon: user-group
text: meet our staff
url: /about
- icon: star
text: your preferences
url: /my/preferences
schema:
name: banner link
identifier: text
properties:
icon:
type: string
required: true
validations:
min_length: 1
max_length: 200
text:
type: string
required: true
validations:
min_length: 1
max_length: 1000
url:
type: string
required: true
validations:
min_length: 1
max_length: 2048
url: true
max_trust_level:
type: integer
default: 1
max: 5
description: Show for this trust level and below; set 5 for all
hide_for_staff:
default: false
hide_on_mobile:
default: false
hide_for_anon:
default: false
description: hide the banner for logged-out users
can_be_dismissed:
default: true
description: allow users to dismiss the banner (per device)
banner_background_image:
type: upload
default: ""
mobile_banner_background_image:
type: upload
default: ""
banner_background_repeat:
type: enum
default: no-repeat
choices:
- no-repeat
- repeat
- repeat-x
- repeat-y
banner_background_size:
type: string
default: cover
description: uses <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background-size">CSS background size property</a>
banner_background_color:
type: string
default: "var(--tertiary-low)"
banner_box_background_color:
type: string
default: "var(--secondary)"
banner_text_color:
type: string
default: "var(--primary)"
banner_icon_color:
type: string
default: "var(--primary-high)"
banner_link_color:
type: string
default: "var(--tertiary)"
svg_icons:
default: "user-group"
type: "list"
list_type: "compact"
layout:
default: "text-left"
type: "enum"
choices:
- "text-left"
- "text-top"
plugin_outlet:
default: "below-site-header"
type: "enum"
choices:
- "below-site-header"
- "above-main-container"
description: changes the banner position, use "above-main-container" if you have the sidebar enabled