diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 53909b1..ef186d9 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -7,19 +7,22 @@ export default defineConfig({ description: 'Technical Documentation about *.geo.admin.ch', /* Prepend a base path such that links still work when the page is built for the - preview in a PR ("test link" in the PR description). + preview in a PR ('test link' in the PR description). - For example, VITE_BASE_URL would be set to "/preview/feat-pb-1234-my-branch/" + For example, VITE_BASE_URL would be set to '/preview/feat-pb-1234-my-branch/' for a link like this: https://sys-docs.dev.bgdi.ch/preview/feat-pb-1234-my-branch/index.html */ base: process.env.VITE_BASE_URL || '/', - head: [['link', { rel: 'icon', href: '/favicon.ico' }]], + head: [ + ['link', { rel: 'icon', href: '/favicon.ico' }], + ['meta', { name: 'robots', content: 'noindex' }], + ], ignoreDeadLinks: 'localhostLinks', vite: { build: { - // We add this to avoid the warning "(!) Some chunks are larger than 500 kB after minification." + // We add this to avoid the warning '(!) Some chunks are larger than 500 kB after minification.' chunkSizeWarningLimit: 1000, }, }, diff --git a/page/status-page.md b/page/status-page.md index 896e3ad..2ce40ff 100644 --- a/page/status-page.md +++ b/page/status-page.md @@ -40,7 +40,7 @@ This page provides the latest status updates for all \*.geo.admin.ch web service 'warning': '⚠️', 'danger': '🚨' }[$frontmatter.type] || '' -}} **{{ $frontmatter.title }}**: {{ $frontmatter.content }} +}} **{{ $frontmatter.previewTitle }}**: {{ $frontmatter.content }} ## Incident History