From c5759e3a2e9589bf237c076a4ed64c1218cbf860 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Thu, 12 Feb 2026 01:08:00 +0800 Subject: [PATCH] chore(theme): add default locale to llmstxt plugin --- theme/src/node/plugins/llms.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/theme/src/node/plugins/llms.ts b/theme/src/node/plugins/llms.ts index 138beaf2..ec6cf75a 100644 --- a/theme/src/node/plugins/llms.ts +++ b/theme/src/node/plugins/llms.ts @@ -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, options.encrypt) }, + locale: '/', ...userLLMsTxt, llmsTxtTemplateGetter: { toc: tocGetter,