diff --git a/scripts/helpers/themeHelpers.js b/scripts/helpers/themeHelpers.js index d153a827..9f890e64 100755 --- a/scripts/helpers/themeHelpers.js +++ b/scripts/helpers/themeHelpers.js @@ -135,6 +135,7 @@ hexo.extend.helper.register("renderJS", function (path, options = {}) { scriptTag = _js({ src: path, type: module ? "module" : undefined, + [swupAttr]: swupReload, // async: async, }); }