From 672e4946ac3c24f3fc79469534e66cfaf6f23e67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=83=BD=E5=AE=81?= Date: Sat, 18 Nov 2023 15:27:03 +0800 Subject: [PATCH] feat(build): html head meta generator (#3219) --- src/node/build/render.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/node/build/render.ts b/src/node/build/render.ts index 2892b7bf..8818a5e1 100644 --- a/src/node/build/render.ts +++ b/src/node/build/render.ts @@ -17,6 +17,7 @@ import { type PageData, type SSGContext } from '../shared' +import { version } from '../../../package.json' export async function renderPage( render: (path: string) => Promise, @@ -162,6 +163,7 @@ export async function renderPage( ? '' : `` } + ${stylesheetLink} ${metadataScript.inHead ? metadataScript.html : ''} ${