feat(cli): support site.headHtml option (#10807)

* feat(cli): support site.headHtml option

* docs: update

* docs: update
This commit is contained in:
neverland
2022-07-10 21:20:32 +08:00
committed by GitHub
parent 53162941da
commit 1ac1bb94e7
6 changed files with 31 additions and 3 deletions
+3
View File
@@ -15,6 +15,9 @@
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<% if (headHtml) { %>
<%- headHtml %>
<% } %>
<% if (baiduAnalytics) { %>
<script>
var _hmt = _hmt || [];
+3
View File
@@ -15,6 +15,9 @@
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<% if (headHtml) { %>
<%- headHtml %>
<% } %>
<% if (enableVConsole) { %>
<script src="https://unpkg.com/vconsole/dist/vconsole.min.js"></script>
<script>