diff --git a/include/schema/common/footer.json b/include/schema/common/footer.json index 3bd55c243..e322bc75d 100644 --- a/include/schema/common/footer.json +++ b/include/schema/common/footer.json @@ -4,16 +4,6 @@ "description": "Page footer configurations", "type": "object", "properties": { - "copyright": { - "$ref": "/misc/copyright.json", - "description": "Copyright text", - "type": "string", - "examples": [ - "© 2019", - "© 2019 - 2020", - "粤ICP备1234567号" - ] - }, "links": { "$ref": "/misc/poly_links.json", "description": "Links to be shown on the right of the footer section", diff --git a/layout/common/footer.jsx b/layout/common/footer.jsx index fcdecd912..902710736 100644 --- a/layout/common/footer.jsx +++ b/layout/common/footer.jsx @@ -11,7 +11,6 @@ class Footer extends Component { siteYear, author, links, - copyright, showVisitorCounter, visitorCounterTitle } = this.props; @@ -42,7 +41,6 @@ class Footer extends Component { {showVisitorCounter ? : null}

- {copyright ?

: null}
{Object.keys(links).length ?
@@ -86,7 +84,6 @@ module.exports = cacheComponent(Footer, 'common.footer', props => { siteYear: date(new Date(), 'YYYY'), author, links, - copyright: footer?.copyright ?? '', showVisitorCounter: plugins && plugins.busuanzi === true, visitorCounterTitle: _p('plugin.visitor_count', '0') };