diff --git a/_config.yml b/_config.yml index c982f3b..d9e7b4f 100644 --- a/_config.yml +++ b/_config.yml @@ -216,6 +216,7 @@ footer: since: 2020 # the starting year of your website, Can be null icp: # ICP record number of your website, Can be null upyun: # url + code: # Statistical codes of your website, Can be null # --------------------------------------------------------------------------------------- # Keep version (Please don't modify) diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index 476b75e..be95069 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -34,5 +34,10 @@ 提供CDN加速/云存储服务 <% } %> + <% if (theme.footer.hasOwnProperty('code') && theme.footer.code) { %> +