Skip to content

Commit

Permalink
Fix bug for fotter.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Mar 25, 2024
1 parent 78d5205 commit 1f7831f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const config = {
[
'./config/docusaurus-dynamic-copyright-plugin',
{
copyright: `<p>©2013~${new Date().getFullYear()} SRS</p>`,
copyright: `<p>©2013~${new Date().getFullYear()} OSSRS Community</p>`,
copyright2: `<p>©2013~${new Date().getFullYear()} OSSRS <a href="https://beian.miit.gov.cn">京ICP备19056366号-1</a></p>`,
footerStyle: 'dark',
},
],
Expand Down
2 changes: 1 addition & 1 deletion config/docusaurus-dynamic-copyright-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = function (context, options) {
</style>
<div class="footer footer--${options.footerStyle} docusaurus-dynamic-copyright">
<div class="container text--center">
${options.copyright}
${context.i18n.currentLocale === 'en-us' ? options.copyright : options.copyright2}
</div>
</div>`,
],
Expand Down
3 changes: 2 additions & 1 deletion config/zh-cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const config = {
[
'./config/docusaurus-dynamic-copyright-plugin',
{
copyright: `<p>©2013~${new Date().getFullYear()} SRS <a href="https://beian.miit.gov.cn">京ICP备19056366号-1</a></p>`,
copyright: `<p>©2013~${new Date().getFullYear()} OSSRS Community</p>`,
copyright2: `<p>©2013~${new Date().getFullYear()} OSSRS <a href="https://beian.miit.gov.cn">京ICP备19056366号-1</a></p>`,
footerStyle: 'dark',
},
],
Expand Down

0 comments on commit 1f7831f

Please sign in to comment.