mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:57:25 +08:00
Rename {{fa-icon}}
to {{d-icon}}
so it can be more generic
This commit is contained in:
@ -0,0 +1,6 @@
|
||||
import { registerUnbound } from 'discourse-common/lib/helpers';
|
||||
import { renderIcon } from 'discourse-common/lib/icon-library';
|
||||
|
||||
registerUnbound('d-icon', function(id, params) {
|
||||
return new Handlebars.SafeString(renderIcon('string', id, params));
|
||||
});
|
Reference in New Issue
Block a user