Skip to content

Commit

Permalink
[Docs] Fixing key name for footer content (shuding#1026)
Browse files Browse the repository at this point in the history
* Fixing key name for footer content

* Removing extra $ sign
  • Loading branch information
liarco authored Dec 5, 2022
1 parent e1fc506 commit e43a655
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/pages/docs/docs-theme/theme-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ Show the last updated date of each page. It’s useful for showing the freshness
The footer area of the website. You can either specify some content for the default footer, or fully customize it with a custom component.

<OptionTable options={[
['footer.content', 'React.ReactNode | React.FC', 'Content of the default footer component.'],
['footer.text', 'React.ReactNode | React.FC', 'Content of the default footer component.'],
['footer.component', 'React.ReactNode | React.FC<{ menu: boolean }>', 'Customized footer component.'],
]}/>

Expand All @@ -466,8 +466,8 @@ You can add some simple content, such as copyright information to the default fo
```jsx
export default {
footer: {
content: <span>
MIT ${new Date().getFullYear()} © <a href="https://nextra.site" target="_blank">Nextra</a>.
text: <span>
MIT {new Date().getFullYear()} © <a href="https://nextra.site" target="_blank">Nextra</a>.
</span>,
}
}
Expand Down

0 comments on commit e43a655

Please sign in to comment.