From 4d056c3540ddffc888c42978f6c6e5586a1cab60 Mon Sep 17 00:00:00 2001 From: Frank Jogeleit Date: Mon, 16 Sep 2024 14:42:26 +0200 Subject: [PATCH] fix favicon Signed-off-by: Frank Jogeleit --- docs/.vitepress/config.mts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index e2546a0..1359fda 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,11 +1,13 @@ import { defineConfig } from 'vitepress' +const base = process.env.BASE ?? '/' + // https://vitepress.dev/reference/site-config export default defineConfig({ title: "Policy Reporter", - description: "Documentation for Policy Reporter", - base: process.env.BASE ?? '/', - head: [['link', { rel: 'icon', href: '/favicon.ico' }]], + description: "Documentation for Policy Reporter v3", + base, + head: [['link', { rel: 'icon', href: `${base}favicon.ico` }]], themeConfig: { logo: '/logo.png', // https://vitepress.dev/reference/default-theme-config