Skip to content

Commit af7224e

Browse files
committed
fix status page title and add noindex meta tag
1 parent dadfd61 commit af7224e

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.vitepress/config.mts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ 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" }]],
17+
base: process.env.VITE_BASE_URL || "/",
18+
head: [
19+
["link", { rel: "icon", href: "/favicon.ico" }],
20+
["meta", { name: "robots", content: "noindex" }],
21+
],
1922
ignoreDeadLinks: "localhostLinks",
2023
vite: {
2124
build: {

page/status-page.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
type: "info"
3-
title: "All Systems Operational"
3+
previewTitle: "All Systems Operational"
44
content: "No ongoing incidents - all services are functioning as expected."
55

66
outline: [2, 3]
77
---
8+
89
<!---
910
Templates:
1011
@@ -26,9 +27,10 @@ type: "danger"
2627
title: "Major incident"
2728
content: "We are experiencing a significant outage affecting [Service XY]. All hands are on deck to diagnose and resolve the issue. The next update will be posted at XX:XX or as significant progress is made."
2829
--->
30+
2931
# Status Page
3032

31-
This page provides the latest status updates for all *.geo.admin.ch web services, including ongoing incidents and a history of past events.
33+
This page provides the latest status updates for all \*.geo.admin.ch web services, including ongoing incidents and a history of past events.
3234

3335
## Current Status
3436

@@ -38,7 +40,7 @@ This page provides the latest status updates for all *.geo.admin.ch web services
3840
'warning': '⚠️',
3941
'danger': '🚨'
4042
}[$frontmatter.type] || ''
41-
}} **{{ $frontmatter.title }}**: {{ $frontmatter.content }}
43+
}} **{{ $frontmatter.previewTitle }}**: {{ $frontmatter.content }}
4244

4345
## Incident History
4446

releases/releases-sidebar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"text": "Release 20251008",
3+
"text": "Release undefined",
44
"link": "/releases/20251008"
55
},
66
{

0 commit comments

Comments
 (0)