From 22276ef5b24e896933df957865a99b603dd3d744 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Thu, 10 Jul 2025 11:53:07 -0400 Subject: [PATCH] fix analytics plugin output --- plugins/analytics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/analytics.js b/plugins/analytics.js index 6fca129..cfba19b 100644 --- a/plugins/analytics.js +++ b/plugins/analytics.js @@ -2,6 +2,6 @@ module.exports = { onPageRendered: async ({ html, file }) => { // Example: inject analytics script into each page const snippet = '\n'; - return html.replace('', `${snippet}`); + return { html: html.replace('', `${snippet}`) }; } };