mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-21 21:45:42 -05:00
fix(pagetypes): prevent duplicate content
This commit is contained in:
parent
c65fb652d2
commit
db11f757c2
@ -134,7 +134,6 @@ function populateVirtualPageHtmlAst(
|
||||
try {
|
||||
const htmlString = render(BodyComponent(componentData))
|
||||
const htmlAst = fromHtml(htmlString, { fragment: true }) as HtmlRoot
|
||||
ve.tree.children = htmlAst.children
|
||||
ve.vfile.data.htmlAst = htmlAst
|
||||
} catch {
|
||||
// Body rendering failed — leave htmlAst empty so transclusion falls
|
||||
|
||||
Loading…
Reference in New Issue
Block a user