diff --git a/packages/@vuepress/core/lib/client/index.ssr.html b/packages/@vuepress/core/lib/client/index.ssr.html
index 32d310a9b3..1c5e66bc8c 100644
--- a/packages/@vuepress/core/lib/client/index.ssr.html
+++ b/packages/@vuepress/core/lib/client/index.ssr.html
@@ -5,6 +5,7 @@
{{ title }}
+
{{{ userHeadTags }}}
{{{ pageMeta }}}
{{{ renderResourceHints() }}}
diff --git a/packages/@vuepress/core/lib/node/build/index.js b/packages/@vuepress/core/lib/node/build/index.js
index 19ffc11e6d..912eca8c23 100644
--- a/packages/@vuepress/core/lib/node/build/index.js
+++ b/packages/@vuepress/core/lib/node/build/index.js
@@ -10,6 +10,7 @@ const createClientConfig = require('../webpack/createClientConfig')
const createServerConfig = require('../webpack/createServerConfig')
const { createBundleRenderer } = require('vue-server-renderer')
const { normalizeHeadTag, applyUserWebpackConfig } = require('../util/index')
+const { version } = require('../../../package')
/**
* Expose Build Process Class.
@@ -147,7 +148,8 @@ module.exports = class Build extends EventEmitter {
pageMeta,
title: 'VuePress',
lang: 'en',
- description: ''
+ description: '',
+ version
}
let html