diff --git a/src/node/build/render.ts b/src/node/build/render.ts index 6b98c7a91b1f..ab4d60f74341 100644 --- a/src/node/build/render.ts +++ b/src/node/build/render.ts @@ -53,6 +53,10 @@ export async function renderPage( }) .join('\n ') + const stylesheetLink = cssChunk + ? `` + : '' + const html = ` @@ -65,7 +69,7 @@ export async function renderPage( - + ${stylesheetLink} ${preloadLinks} ${renderHead(siteData.head)} ${renderHead(frontmatterHead && filterOutHeadDescription(frontmatterHead))}