Revert "feat(footer): added copyright"
This commit is contained in:
parent
eea0f7ff12
commit
ae07ce35dc
|
@ -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",
|
||||
"<a href=\"https://beian.miit.gov.cn/\" target=\"_blank\">粤ICP备1234567号</a>"
|
||||
]
|
||||
},
|
||||
"links": {
|
||||
"$ref": "/misc/poly_links.json",
|
||||
"description": "Links to be shown on the right of the footer section",
|
||||
|
|
|
@ -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 ? <span id="busuanzi_container_site_uv"
|
||||
dangerouslySetInnerHTML={{ __html: visitorCounterTitle }}></span> : null}
|
||||
</p>
|
||||
{copyright ? <p class="is-size-7" dangerouslySetInnerHTML={{ __html: copyright }}></p> : null}
|
||||
</div>
|
||||
<div class="level-end">
|
||||
{Object.keys(links).length ? <div class="field has-addons">
|
||||
|
@ -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', '<span id="busuanzi_value_site_uv">0</span>')
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue