From f670596c6a813a792c973f5ee121f8fbfdfca3a9 Mon Sep 17 00:00:00 2001 From: overgrow Date: Tue, 27 Aug 2024 00:44:55 +0200 Subject: [PATCH] DEV: Improve plugin outlets in category-banner component (#64) Add category argument to plugin outlet to make it more usable for customization, create new outlet 'after-description' --- javascripts/discourse/components/category-banner.hbs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/javascripts/discourse/components/category-banner.hbs b/javascripts/discourse/components/category-banner.hbs index 41c5539..97fcf76 100644 --- a/javascripts/discourse/components/category-banner.hbs +++ b/javascripts/discourse/components/category-banner.hbs @@ -25,13 +25,14 @@ {{d-icon "lock"}} {{/if}} {{this.category.name}} - + {{#if this.displayCategoryDescription}}
{{html-safe this.category.description}} +
{{/if}}