diff --git a/src/resolvers.ts b/src/resolvers.ts index ca8d846b3..5b77b03ec 100644 --- a/src/resolvers.ts +++ b/src/resolvers.ts @@ -68,7 +68,7 @@ export const builtins = new Map([ * them to any files referenced by static HTML. */ export async function getResolvers(page: MarkdownPage, {root, path}: {root: string; path: string}): Promise { - const hash = createHash("sha256").update(page.html); + const hash = createHash("sha256").update(page.html).update(JSON.stringify(page.data)); const assets = findAssets(page.html, path); const files = new Set(); const fileMethods = new Set();