メインロゴのURLを変更できますか?

これは、ここにある home-logo ウィジェットで防止されているため、もう少しカスタマイズが必要です。

そのため、changeWidgetSetting を使用して URL を設定し、次に reopenWidget を使用して _blank を追加し、新しいウィンドウで開くのを防ぐデフォルトのクリック動作をオーバーライドする必要があります。

<script type="text/discourse-plugin" version="0.8">
  const { h } = require("virtual-dom");

  api.changeWidgetSetting('home-logo', 'href', 'https://discourse.org');

  api.reopenWidget("home-logo", {
     html() {
       return h(
         "a",
         { attributes: { href: this.href(), "data-auto-route": true, "target": "_blank" } },
         this.logo()
       );
     },

     click(e) {
       return;
     },
   });
</script>
「いいね!」 4