+
\ No newline at end of file
diff --git a/src/config.ts b/src/config.ts
index d4b6ef0..2d6a2e3 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -7,9 +7,10 @@ export const siteConfig = {
noClientJavaScript: false, // disable client-side javascript, this will:
// 1. disable all built-in client-side javascript from rendering
// 2. the full text search will be redirected to a search engine
- // 3. the comments will be replaced with email reply
+ // 3. the comments will be globally disabled
// 4. the night mode & back to top will not use Javascript to function
// 5. the neko will be force-disabled
+ authorDefaultEmail: '',
// site components
navBarItems: [
// additional items in the navbar
@@ -18,6 +19,9 @@ export const siteConfig = {
{ text: "RSS", link: "/rss.xml" },
{ text: "GitHub", link: "https://github.com/GrassBlock1/mercury" },
],
+ // search
+ // This only works when noClientJavaScript is enabled
+ searchEngine: 'bing', // 'google', 'duckduckgo', 'bing'(broken until M1cr0$0ft get support for it), defaults to 'google'
// footer
// yes you can write html safely here
customFooter: 'I have no mouth, and I must SCREAM',
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 6f0eb76..6cda7bd 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -2,6 +2,7 @@
import '../styles/global.css';
import Search from '../components/Search.astro';
import ThemeSwitcher from '../components/ThemeSwitcher.astro';
+import ThemeSwitcher_CSSOnly from '../components/ThemeSwitcher@CSSOnly.astro';
import BackToTop from "../components/BackToTop.astro";
import Meta from "../components/helper/head/Meta.astro";
@@ -66,7 +67,7 @@ const { title = pageTitle, description = siteConfig.description, ogImage = "" }