diff --git a/netlify.toml b/netlify.toml
new file mode 100644
index 0000000..af35f66
--- /dev/null
+++ b/netlify.toml
@@ -0,0 +1,4 @@
+[[headers]]
+ for = "/*"
+ [headers.values]
+ cache-control = "no-cache"
\ No newline at end of file
diff --git a/src/config.ts b/src/config.ts
index 28ab569..11edcf9 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -27,7 +27,7 @@ export const siteConfig: SiteConfig = {
},
},
background: {
- enable: true, // Enable background image
+ enable: false, // Enable background image
//src: "https://eo-pic.2x.nz/h", // Background image URL (supports HTTPS)
src: "https://bing.ee123.net/img", // Bing daily theme
position: "center", // Background position: 'top', 'center', 'bottom'
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index cf23eb2..e132d6a 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -70,6 +70,10 @@ const bannerOffsetByPosition = {
};
const bannerOffset =
bannerOffsetByPosition[siteConfig.banner.position || "center"];
+
+
+// 周日判断
+const isSunday = new Date().getDay() === 0;
---
@@ -99,7 +103,13 @@ const bannerOffset =
-
+ { isSunday &&
+
+ }
+
+ { !isSunday &&
+
+ }
{favicons.map(favicon => (