删除不必要的favicon文件,添加Umami分析和谷歌广告脚本

This commit is contained in:
afoim
2025-04-30 19:28:23 +08:00
parent 71a7ac95d5
commit 2edaf9a0e1
10 changed files with 8 additions and 0 deletions

1
public/favicon/ads.txt Normal file
View File

@@ -0,0 +1 @@
google.com, pub-1683686345039700, DIRECT, f08c47fec0942fa0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 B

View File

@@ -147,6 +147,13 @@ const bannerOffset =
<link rel="alternate" type="application/rss+xml" title={profileConfig.name} href={`${Astro.site}rss.xml`}/>
<!-- Umami分析 -->
<script defer src="https://cloud.umami.is/script.js" data-website-id="a66a5fd4-98b0-4108-8606-cb7094f380ac"></script>
<!-- 谷歌广告 -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1683686345039700"
crossorigin="anonymous"></script>
<meta name="google-adsense-account" content="ca-pub-1683686345039700">
</head>
<body class=" min-h-screen transition " class:list={[{"lg:is-home": isHomePage, "enable-banner": enableBanner}]}
data-overlayscrollbars-initialize