Update head.ejs

禁止缓存html
This commit is contained in:
浪子 2023-10-30 14:17:33 +08:00 committed by GitHub
parent c6427eb96e
commit 0a1c807dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ var ogConfig = Object.assign({ image: ogImage && url_for(ogImage) }, theme.open_
<%- theme.custom_head %> <%- theme.custom_head %>
<% } %> <% } %>
<title><%= title %></title> <title><%= title %></title>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<%- partial('_partials/css.ejs') %> <%- partial('_partials/css.ejs') %>
<%- export_config() %> <%- export_config() %>