新增底部统计代码 (#2)
This commit is contained in:
parent
5a88c73d48
commit
d6b4336e9c
|
@ -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)
|
||||
|
|
|
@ -34,5 +34,10 @@
|
|||
<img src="/images/upyun.png" alt="upyun" srcset="" height="24" style="position:relative; top:6px">
|
||||
提供CDN加速/云存储服务</a></div>
|
||||
<% } %>
|
||||
<% if (theme.footer.hasOwnProperty('code') && theme.footer.code) { %>
|
||||
<div class="code-info info-item">
|
||||
<%- theme.footer.code %>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in New Issue