Skip to content

Commit

Permalink
docs: add warning about using block elements in footer config (vuejs#…
Browse files Browse the repository at this point in the history
…2341)

Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
  • Loading branch information
engvuchen and brc-dd authored May 8, 2023
1 parent f4cd0ae commit 58795d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/reference/default-theme-footer.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ export default {
}
```

::: warning
Only inline elements can be used in `message` and `copyright` as they are rendered inside a `<p>` element. If you want to add block elements, consider using [`layout-bottom`](../guide/extending-default-theme#layout-slots) slot instead.
:::

Note that footer will not be displayed when the [SideBar](./default-theme-sidebar) is visible.

0 comments on commit 58795d2

Please sign in to comment.