diff --git a/core/frontend/services/theme-engine/middleware/update-global-template-options.js b/core/frontend/services/theme-engine/middleware/update-global-template-options.js index 5589986cd5..1f7eea6f5c 100644 --- a/core/frontend/services/theme-engine/middleware/update-global-template-options.js +++ b/core/frontend/services/theme-engine/middleware/update-global-template-options.js @@ -97,11 +97,9 @@ async function updateGlobalTemplateOptions(req, res, next) { } // @TODO: only do this if something changed? - // @TODO: remove blog in a major where we are happy to break more themes { hbs.updateTemplateOptions({ data: { - blog: siteData, site: siteData, labs: labsData, config: themeData, diff --git a/core/frontend/services/theme-engine/middleware/update-local-template-options.js b/core/frontend/services/theme-engine/middleware/update-local-template-options.js index 3d102285f7..bc3e5b47bd 100644 --- a/core/frontend/services/theme-engine/middleware/update-local-template-options.js +++ b/core/frontend/services/theme-engine/middleware/update-local-template-options.js @@ -42,9 +42,7 @@ function updateLocalTemplateOptions(req, res, next) { data: { member: member, site: siteData, - custom: customData, - // @deprecated: a gscan warning for @blog was added before 3.0 which replaced it with @site - blog: siteData + custom: customData } }));