Skip to content

Commit

Permalink
feat(build): html head meta generator (#3219)
Browse files Browse the repository at this point in the history
  • Loading branch information
zonemeen committed Nov 18, 2023
1 parent 6761036 commit 672e494
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/node/build/render.ts
Expand Up @@ -17,6 +17,7 @@ import {
type PageData,
type SSGContext
} from '../shared'
import { version } from '../../../package.json'

export async function renderPage(
render: (path: string) => Promise<SSGContext>,
Expand Down Expand Up @@ -162,6 +163,7 @@ export async function renderPage(
? ''
: `<meta name="description" content="${description}">`
}
<meta name="generator" content="VitePress v${version}">
${stylesheetLink}
${metadataScript.inHead ? metadataScript.html : ''}
${
Expand Down

0 comments on commit 672e494

Please sign in to comment.