diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index 7bc7e17..26966dd 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -25,7 +25,7 @@
<%- __('powered_by', 'Hexo') %> | <%- __('theme') %> Keep v<%= theme.version %>
- <% if (theme.footer.icp ){ %> + <% if (theme.footer.hasOwnProperty('icp') && theme.footer.icp) { %>
<%= theme.footer.icp %>
<% } %>