From 09db9b4d50777c98ccc7155954edffd08e85c63c Mon Sep 17 00:00:00 2001 From: Wittoy <22721456+Wittoy@users.noreply.github.com> Date: Thu, 28 Jan 2021 21:25:57 +0800 Subject: [PATCH] add icp numbers --- _config.yml | 1 + layout/_partial/footer.ejs | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/_config.yml b/_config.yml index 147fee4..c01f482 100644 --- a/_config.yml +++ b/_config.yml @@ -228,6 +228,7 @@ pjax: # --------------------------------------------------------------------------------------- footer: since: 2020 + icp: # --------------------------------------------------------------------------------------- diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index 6bc7dff..7bc7e17 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -25,5 +25,9 @@
<%- __('powered_by', 'Hexo') %> | <%- __('theme') %> Keep v<%= theme.version %>
+ <% if (theme.footer.icp ){ %> +
<%= theme.footer.icp %>
+ <% } %> +