chore(theme): add default locale to llmstxt plugin

This commit is contained in:
pengzhanbo 2026-02-12 01:08:00 +08:00
parent 3e68b44771
commit c5759e3a2e

View File

@ -124,6 +124,7 @@ export function llmsPlugin(app: App, userOptions: true | LlmsPluginOptions): Plu
const options = getThemeConfig()
return options.encrypt?.global ? false : !isEncryptPage(page as Page<ThemePageData>, options.encrypt)
},
locale: '/',
...userLLMsTxt,
llmsTxtTemplateGetter: {
toc: tocGetter,