forked from paviliondev/discourse-tc-topic-list-previews
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.yml
203 lines (203 loc) · 7.58 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
topic_list_tiles_topic_lists:
type: list
default: latest|new|unread|top|tag|activity-topics|activity-portfolio|latest-mobile|new-mobile|unread-mobile|top-mobile|tag-mobile|activity-topics-mobile|activity-portfolio-mobile
description:
en: "The lists that will be styled with tiles format. Can be one of latest|new|unread|top|tag|suggested|activity-topics|activity-portfolio|latest-mobile|new-mobile|unread-mobile|top-mobile|tag-mobile|suggested-mobile|activity-topics-mobile|activity-portfolio-mobile"
topic_list_tiles_categories:
type: list
list_type: category
default: ""
description:
en: "The categories that will be styled with tiles format."
topic_list_tiles_tags:
type: list
list_type: tag
default: ""
description:
en: "The tags that will be styled with tiles format."
topic_list_thumbnails_topic_lists:
type: list
default: latest|new|unread|top|tag|suggested|agenda|activity-topics|activity-portfolio|latest-mobile|new-mobile|unread-mobile|top-mobile|tag-mobile|suggested-mobile|agenda-mobile|activity-topics-mobile|activity-portfolio-mobile
description:
en: "The lists that will include thumbnails. Can be one of latest|new|unread|top|tag|suggested|agenda|activity-topics|activity-portfolio|latest-mobile|new-mobile|unread-mobile|top-mobile|tag-mobile|agenda-mobile|activity-topics-mobile|activity-portfolio-mobile"
topic_list_thumbnails_categories:
type: list
list_type: category
default: ""
description:
en: "The categories that will include thumbnails."
topic_list_thumbnails_tags:
type: list
list_type: tag
default: ""
description:
en: "The categories that will include thumbnails."
topic_list_excerpts_topic_lists:
type: list
default: latest|new|unread|top|tag|suggested|agenda|activity-topics|activity-portfolio|latest-mobile|new-mobile|unread-mobile|top-mobile|tag-mobile|agenda-mobile|activity-topics-mobile|activity-portfolio-mobile
description:
en: "The lists that will include excerpts. Can be one of latest|new|unread|top|tag|suggested|agenda|activity-topics|activity-portfolio|latest-mobile|new-mobile|unread-mobile|top-mobile|tag-mobile|agenda-mobile|activity-topics-mobile|activity-portfolio-mobile"
topic_list_excerpts_categories:
type: list
list_type: category
default: ""
description:
en: "The categories that will include excerpts."
topic_list_excerpts_tags:
type: list
list_type: tag
default: ""
description:
en: "The tags that will include excerpts."
topic_list_actions_topic_lists:
type: list
default: latest|new|unread|top|tag|suggested|agenda|activity-topics|activity-portfolio|latest-mobile|new-mobile|unread-mobile|top-mobile|tag-mobile|agenda-mobile|activity-topics-mobile|activity-portfolio-mobile
description:
en: "The lists that will include actions. Can be one of latest|new|unread|top|tag|suggested|agenda|activity-topics|activity-portfolio|latest-mobile|new-mobile|unread-mobile|top-mobile|tag-mobile|agenda-mobile|activity-topics-mobile|activity-portfolio-mobile"
topic_list_actions_categories:
type: list
list_type: category
default: ""
description:
en: "The categories that will include actions."
topic_list_actions_tags:
type: list
list_type: tag
default: ""
description:
en: "The tags that will include actions."
topic_list_set_category_defaults:
default: false
type: bool
description:
en: "Set site topic list display settings as defaults for category topic lists."
topic_list_show_like_on_current_users_posts:
type: bool
default: true
description:
en: "Show an inactive like button in topic list items previewing a post created by the current user (non-default Discourse behavior)."
topic_list_tiles_transition_time:
default: 0.5
type: float
description:
en: "Number of seconds for tiles layout transition on view change (desktop only)"
topic_list_tiles_larger_featured_tiles:
default: true
type: bool
description:
en: "Make the tiles with featured tags larger"
topic_list_portfolio:
default: true
type: bool
description:
en: "Enable additional User Activity view for User Portfolio"
topic_list_portfolio_filter_type:
default: 'tag'
type: 'enum'
description:
en: "Which type of filter should be used to limit Activity Portfolio Topics"
choices:
- tag
- category
topic_list_portfolio_filter_parameter:
default: ''
type: string
description:
en: "Enter the tag or category slug (depending of value of filter type setting)"
topic_list_default_thumbnail:
default: ''
type: string
description:
en: "Image URL for default thumbnail if topic thumbnail is inaccessible."
topic_list_default_thumbnail_fallback:
default: false
type: bool
description:
en: "Use the default thumbnail when a topic has no previewed image."
topic_list_thumbnail_resolution_level:
default: 2
max: 6
min: 0
type: integer
description:
en: "Resolution level of thumbnail used in the Topic List: 0 is original, 1 is next highest, up to 6 lowest. Actual resolution will depend on number of thumbnails available for any one image. Experiment for best setting for your site, but 2 is recommended for Tiles"
topic_list_thumbnail_width:
default: 150
description:
en: "Width of image that can be previewed."
topic_list_thumbnail_height:
default: 100
description:
en: "Height of image that can be previewed."
topic_list_thumbnail_first_x_rows:
default: 0
type: integer
description:
en: "Show thumbnail only for first X rows. Enter 0 to show on all rows."
topic_list_featured_images:
default: false
type: bool
description:
en: "Enable featured images for non-category routes."
topic_list_featured_images_resolution_level:
default: 2
max: 6
min: 0
type: integer
description:
en: "Resolution level of thumbnail used in Featured Images: 0 is original, 1 is next highest, up to 6 lowest. Actual resolution will depend on number of thumbnails available for any one image. Experiment for best setting for your site."
topic_list_featured_images_category:
default: false
type: bool
description:
en: "Apply featured images site setting to all category discovery routes"
topic_list_featured_images_from_current_category_only:
default: true
type: bool
description:
en: "Show featured images only that exist in current Category"
topic_list_featured_images_tag:
type: list
list_type: tag
default: ''
description:
en: "Featured images tag."
topic_list_featured_images_tag_show:
default: true
type: bool
description:
en: "Show featured images tag below featured images."
topic_list_featured_images_count:
default: 0
description:
en: "Featured Images Topics set count. Set to zero for no limit. NB If featured Topics don't contain a thumbnail the number of images will be fewer, just raise the number."
topic_list_featured_images_created_order:
default: false
type: bool
description:
en: "Featured Images order, set to true if you want images to appear in created order, not in order of latest post"
topic_list_featured_width:
default: 0
type: integer
description:
en: "Featured image width. Setting this to zero will make it responsive to image aspect ratio."
topic_list_featured_height:
default: 150
type: integer
description:
en: "Featured image height."
topic_list_featured_title:
default: ''
type: string
description:
en: "Featured images title. Supports Markdown."
topic_list_featured_excerpt:
default: 100
type: integer
description:
en: "Include topic excerpt in featured image and determine its length. Set it to 0 for don't include"
topic_list_test_image_url_timeout:
default: 5000
type: integer
description:
en: "Timeout for testing image url"