From 58795d2f938d39989a48dd04df27c43fa2cb62a9 Mon Sep 17 00:00:00 2001 From: engvuchen <31369318+engvuchen@users.noreply.github.com> Date: Tue, 9 May 2023 00:32:21 +0800 Subject: [PATCH] docs: add warning about using block elements in footer config (#2341) Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> --- docs/reference/default-theme-footer.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/reference/default-theme-footer.md b/docs/reference/default-theme-footer.md index e363537f..6457798e 100644 --- a/docs/reference/default-theme-footer.md +++ b/docs/reference/default-theme-footer.md @@ -36,4 +36,8 @@ export default { } ``` +::: warning +Only inline elements can be used in `message` and `copyright` as they are rendered inside a `

` 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.