From cb9f917b069279b67822974bdb036c1e462595fa Mon Sep 17 00:00:00 2001 From: grassblock Date: Fri, 13 Jun 2025 15:57:55 +0800 Subject: [PATCH] chore: clarify noClientJavaScript comment regarding functionality limitations --- src/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.ts b/src/config.ts index 0ca0a61..2103172 100644 --- a/src/config.ts +++ b/src/config.ts @@ -10,7 +10,7 @@ export const siteConfig = { }, // features noClientJavaScript: false, // disable client-side javascript, this will: - // 1. disable all built-in client-side javascript from rendering + // 1. disable most built-in client-side javascript from rendering (protected content component and umami still needs javascript to function, sorry) // 2. the full text search will be redirected to a search engine // 3. the comments will be globally disabled // 4. the night mode & back to top will not use Javascript to function @@ -25,7 +25,7 @@ export const siteConfig = { ], // search // This only works when noClientJavaScript is enabled - searchEngine: 'bing', // 'google', 'duckduckgo', 'bing'(broken until M1cr0$0ft get support for it), defaults to 'google' + searchEngine: 'duckduckgo', // 'google', 'duckduckgo', 'bing' (broken until M1cr0$0ft get support for it), defaults to 'google' // content displayAvatar: true, // display author avatar in the article list and info line of article page // encryption