diff --git a/javascripts/discourse/initializers/category-icons.js b/javascripts/discourse/initializers/category-icons.js index 6374bf2..fdfe9b2 100644 --- a/javascripts/discourse/initializers/category-icons.js +++ b/javascripts/discourse/initializers/category-icons.js @@ -220,7 +220,7 @@ export default { }); } - if (settings.render_category_icon_in_post && api.registerHashtagType) { + if (api.registerHashtagType) { const site = api.container.lookup("service:site"); const dict = {}; for (const str of categoryThemeList) { diff --git a/settings.yml b/settings.yml index 4de81d7..b6f49c9 100644 --- a/settings.yml +++ b/settings.yml @@ -3,9 +3,6 @@ category_icon_list: type: "list" list_type: "simple" description: 'Enter comma-delimited configuration for categories, in the format "slug,icon,color,match". Color can be in hex format (#123456) or left blank, then the default color for the category is used (same as the Badge color). If match is "partial" then the slug need only partially match the category-slug, otherwise an exact match is required' -render_category_icon_in_post: - default: true - description: "Show category icons in the post body" svg_icons: default: "question-circle" type: "list"