Skip to content

Commit

Permalink
📝 Use copyright text from siteConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
resir014 committed Sep 30, 2018
1 parent cac24ba commit 5956e41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions website/core/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class Footer extends React.Component {
}

render () {
const currentYear = new Date().getFullYear()
return (
<footer className='nav-footer' id='footer'>
<section className='sitemap'>
Expand Down Expand Up @@ -55,9 +54,7 @@ class Footer extends React.Component {
</div>
</section>

<section className='copyright'>
Copyright &copy; {currentYear} Bemuse Team
</section>
<section className='copyright'>{this.props.config.copyright}</section>
</footer>
)
}
Expand Down
5 changes: 1 addition & 4 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ const siteConfig = {
baseFont: ['Source Sans Pro', 'Segoe UI', 'Helvetica Neue', 'sans-serif']
},
// This copyright info is used in /core/Footer.js and blog rss/atom feeds.
copyright:
'Copyright © ' +
new Date().getFullYear() +
' Your Name or Your Company Name',
copyright: 'Copyright © ' + new Date().getFullYear() + ' Bemuse Team',
highlight: {
// Highlight.js theme to use for syntax highlighting in code blocks
theme: 'default'
Expand Down

0 comments on commit 5956e41

Please sign in to comment.