diff --git a/packages/@vuepress/plugin-last-updated/index.js b/packages/@vuepress/plugin-last-updated/index.js index 72e48094d5..e8a59a15a9 100644 --- a/packages/@vuepress/plugin-last-updated/index.js +++ b/packages/@vuepress/plugin-last-updated/index.js @@ -11,6 +11,7 @@ module.exports = (options = {}, context) => ({ ? transformer(timestamp, $lang) : defaultTransformer(timestamp, $lang, dateOptions) $page.lastUpdated = lastUpdated + $page.lastUpdatedTimestamp = timestamp } } })