Skip to content

Commit 217c0ac

Browse files
committed
fix status page title and add noindex meta tag
1 parent 761af59 commit 217c0ac

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.vitepress/config.mts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@ export default defineConfig({
1414
1515
https://sys-docs.dev.bgdi.ch/preview/feat-pb-1234-my-branch/index.html
1616
*/
17-
base: process.env.VITE_BASE_URL || '/',
18-
head: [['link', { rel: 'icon', href: '/favicon.ico' }]],
19-
ignoreDeadLinks: 'localhostLinks',
20-
vite: {
21-
build: {
22-
// We add this to avoid the warning "(!) Some chunks are larger than 500 kB after minification."
23-
chunkSizeWarningLimit: 1000,
24-
},
17+
base: process.env.VITE_BASE_URL || "/",
18+
head: [
19+
["link", { rel: "icon", href: "/favicon.ico" }],
20+
["meta", { name: "robots", content: "noindex" }],
21+
],
22+
ignoreDeadLinks: "localhostLinks",
23+
vite: {
24+
build: {
25+
// We add this to avoid the warning "(!) Some chunks are larger than 500 kB after minification."
26+
chunkSizeWarningLimit: 1000,
2527
},
2628
themeConfig: {
2729
// https://vitepress.dev/reference/default-theme-config

page/status-page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This page provides the latest status updates for all \*.geo.admin.ch web service
4040
'warning': '⚠️',
4141
'danger': '🚨'
4242
}[$frontmatter.type] || ''
43-
}} **{{ $frontmatter.title }}**: {{ $frontmatter.content }}
43+
}} **{{ $frontmatter.previewTitle }}**: {{ $frontmatter.content }}
4444

4545
## Incident History
4646

0 commit comments

Comments
 (0)