您可以将此代码添加到您的主题中:
<script type="text/discourse-plugin" version="0.8">
const { setDefaultHomepage } = require('discourse/lib/utilities');
setDefaultHomepage("docs");
</script>
您可以将此代码添加到您的主题中:
<script type="text/discourse-plugin" version="0.8">
const { setDefaultHomepage } = require('discourse/lib/utilities');
setDefaultHomepage("docs");
</script>