diff --git a/.gitignore b/.gitignore index 6f2e1ff..ee13186 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,5 @@ dist-ssr *.njsproj *.sln *.sw? + +public/tools_ranblogs_sitemap.txt \ No newline at end of file diff --git a/index.html b/index.html index 97ccb90..d34009e 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,8 @@ - + + diff --git a/src/router/index.ts b/src/router/index.ts index 18296c3..e1f8074 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -33,7 +33,7 @@ router.afterEach((to) => { if (detailTitle) { document.title = detailTitle + '-' + import.meta.env.VITE_APP_TITLE } else { - document.title = import.meta.env.VITE_APP_TITLE + document.title = import.meta.env.VITE_APP_TITLE + '-' + import.meta.env.VITE_APP_DESC } //设置meta