Discourse.SiteSettings not working after upgrade

Aha, I see. settings in that case points at theme settings, which are much more common for themes/plugins.

I’ve updated the documentation with how to access site settings. You can do it like this:

<script type="text/discourse-plugin" version="0.1">
  let siteSettings = api.container.lookup('site-settings:main');
</script>