forked from tshenry/discourse-category-previews
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.yml
79 lines (79 loc) · 2.39 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
---
categories:
description: "Top level categories preview list"
default: >-
[
{
"icon":"bell",
"category_slug":"bottom-cat",
"title":"Announcements",
"description":"Official Grey Arrows Drone Club Announcements.",
"url":"https://greyarro.ws/sorry-members-only",
"special_groups":"GADC_Members"
},
{
"icon":"star",
"category_slug":"bottom-cat",
"title":"Members Only",
"description":"Special deals and content exclusively for GADC members.",
"url":"https://greyarro.ws/sorry-members-only",
"special_groups":"GADC_Members"
},
{
"icon":"comments",
"category_slug":"bottom-cat",
"title":"Droning On...",
"description":"The off-topic place to discuss anything and everything.",
"url":"https://greyarro.ws/sorry-members-only",
"special_groups":"GADC_Members"
}
]
json_schema: '
{
"title": "List of Categories",
"description": "Members of `special-groups` will not see the preview since they can access the category",
"type": "array",
"format": "table",
"uniqueItems": false,
"items": {
"type": "object",
"properties": {
"icon": {
"description": "Icon displayed before preview name",
"type": "string",
"minLength": 1
},
"category_slug": {
"description": "preview category will be displayed before this category",
"type": "string",
"minLength": 1
},
"title": {
"description": "The bold, hyperlinked part of the preview",
"type": "string",
"minLength": 1
},
"description": {
"description": "displayed under the Preview Name",
"type": "string",
"minLength": 1
},
"url": {
"description": "the link that will be attached to the Preview Name",
"type": "string",
"minLength": 1
},
"special_groups": {
"description": "a comma-separated list of group names",
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
}'
border_color:
type: string
default: '0088CC'
description:
en: 'The hex color associated with all category previews when the <code>category style</code> site setting is not set to "none."'