Skip to content

Commit

Permalink
fix favicon
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
  • Loading branch information
fjogeleit committed Sep 16, 2024
1 parent 0373448 commit 4d056c3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4d056c3

Please sign in to comment.