2020-09-24 15:44:49 -04:00
|
|
|
show_description:
|
2018-04-26 01:25:49 -04:00
|
|
|
default: true
|
|
|
|
description: 'Show description from "About This Category" post'
|
|
|
|
|
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
|
|
|
description: "Show banners on mobile"
|
2018-04-26 13:01:44 -04:00
|
|
|
|
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
|
|
|
description: "Show banners for subcategories"
|
2018-04-26 13:01:44 -04:00
|
|
|
|
2020-09-24 15:44:49 -04:00
|
|
|
hide_if_no_description:
|
2018-04-26 14:01:28 -04:00
|
|
|
default: true
|
2020-09-24 15:44:49 -04:00
|
|
|
description: "Hide banners if category description is not set"
|
2018-04-26 13:01:44 -04:00
|
|
|
|
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
|
2023-03-28 16:08:09 -04:00
|
|
|
description: "Banner will not show for these category NAMES."
|
2020-09-28 07:26:06 -04:00
|
|
|
|
2021-04-14 06:16:37 -04:00
|
|
|
categories:
|
|
|
|
default: ""
|
|
|
|
type: list
|
|
|
|
description: |
|
2023-03-28 16:08:09 -04:00
|
|
|
Banner will only show for these categories. Format as <code>name:target</code> (e.g., <code>staff:all</code>).
|
2021-04-14 06:16:37 -04:00
|
|
|
Accepted targets:
|
2023-03-28 16:08:09 -04:00
|
|
|
<ul>
|
|
|
|
<li> all - named category and subcategories (default);
|
|
|
|
<li> no_sub - only the named category;
|
|
|
|
<li> only_sub - only subcategories of the named category.
|
|
|
|
</ul>
|
2021-04-14 06:16:37 -04:00
|
|
|
|
2023-07-06 16:42:00 -04:00
|
|
|
plugin_outlet:
|
|
|
|
default: "below-site-header"
|
|
|
|
type: "enum"
|
|
|
|
choices:
|
|
|
|
- "below-site-header"
|
|
|
|
- "above-site-header"
|
|
|
|
- "above-main-container"
|
|
|
|
- "header-list-container-bottom"
|
|
|
|
description: "Changes the position of the banner on the page."
|
2023-10-23 00:17:00 -04:00
|
|
|
refresh: true
|
2020-11-30 09:46:44 -05:00
|
|
|
|
|
|
|
show_category_icon:
|
|
|
|
default: false
|
2023-03-28 16:08:09 -04:00
|
|
|
description: Show category icon from the <a href="https://meta.discourse.org/t/category-icons/104683" target="_blank">Discourse Category Icons component</a>
|
2023-03-30 13:10:47 -04:00
|
|
|
|
|
|
|
override_category_icon_color:
|
|
|
|
default: false
|
|
|
|
description: When the category icons are used, enabling this will make the icon match the banner text color
|