forked from naidihr/discourse-category-headers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.yml
120 lines (99 loc) · 3.01 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
show_category_name:
type: bool
default: true
description: 'Show the category name in the header'
show_category_description:
type: bool
default: true
description: 'Show the category description text<br>(The first paragraph of the "About this category" topic)'
description_text_size:
type: enum
default: larger
choices:
- smaller
- normal
- larger
- largest
description: 'Size of text within the category description'
text_align:
type: enum
default: left
choices:
- left
- center
- right
description: 'Alignment of the text within the category header'
show_subcategory_header:
type: bool
default: true
description: 'Show header for subcategories'
show_parent_category_name:
type: bool
default: true
description: 'Prefix the parent category name on the subcategory headers'
show_lock_icon:
type: bool
default: true
description: 'Show the lock icon on categories protected by permissions'
show_category_logo:
type: bool
default: true
description: 'Show the category logo image within the header'
show_parent_category_logo:
type: bool
default: true
description: 'Show the parent category logo when a subcategory logo is not set'
show_site_logo:
type: bool
default: true
description: 'Show the small site logo if a category logo is not set'
position_logo:
type: enum
default: left
choices:
- left
- right
- top
description: 'Position of the logo within the header. Left and right display the logo inline with the text<br>Top displays the logo above aligned with the text'
size_logo:
type: enum
default: standard
choices:
- standard
- small
- original
description: 'Position of the logo within the header.<br>Small is 40px high similar to a sub
category box logo<br>Standard is 150px high<br>Original is the size of the image uploaded'
header_style:
type: enum
default: box
choices:
- box
- banner
- none
description: 'Set the header style to either:<br>Box, style as a box with the category background color as the left border<br>Banner, set the header background to the category background color and text to the forground color<br>None, no styling<'
header_background_image:
type: enum
default: contain
choices:
- contain
- cover
- resize
- outside
description: 'Applies if you have uploaded a category background image<br>Contain, cover and resize display the background within the header<br>Outside is the Discourse default displaying it outside the header.'
show_mobile:
type: bool
default: true
description: 'Show category header on mobile devices'
force_mobile_alignment:
type: bool
default: true
description: 'Force mobile alignment of logo-text to the top-centre of the header'
hide_if_no_category_description:
type: bool
default: true
description: 'Hide header if category description is not set'
hide_category_exceptions:
type: list
default: ''
description: 'Headers will not show for these categories'