在主题中用自定义图标替换 Discourse 的默认 SVG 图标

这不起作用。我尝试了:

<script type="text/discourse-plugin" version="0.8">
    api.replaceIcon("shield-halved", "hat-wizard");
</script>

来自这里,但似乎不起作用。我认为脚本标签方法已损坏,因为这个在预览链接中不起作用。老实说,我不确定。