Skip to content

Commit 9fdb8f4

Browse files
authored
Refactor copyright section in docusaurus.config.ts
Updated copyright information to include HTML for the license badge.
1 parent 3890628 commit 9fdb8f4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docusaurus.config.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,13 @@ const config: Config = {
121121
],
122122
},
123123
],
124-
copyright: `Copyright © ${new Date().getFullYear()} Charlie. Built with Docusaurus. [![License: CC BY-NC 4.0](https://img.shields.io/badge/License-CC_BY--NC_4.0-blue.svg)](https://creativecommons.org/licenses/by-nc/4.0/)
125-
`,
124+
copyright: `Copyright © ${new Date().getFullYear()} Charlie. Built with Docusaurus.
125+
<a href="https://creativecommons.org/licenses/by-nc/4.0/">
126+
<img
127+
src="https://img.shields.io/badge/License-CC_BY--NC_4.0-blue.svg"
128+
alt="License: CC BY-NC 4.0"
129+
/>
130+
</a>`,
126131
},
127132
prism: {
128133
theme: prismThemes.github,

0 commit comments

Comments
 (0)