From f939b8a8e8b43879229be5efe512e9ce2cd3ab70 Mon Sep 17 00:00:00 2001 From: Akhilesh Kataria <469760+akil-rails@users.noreply.github.com> Date: Thu, 21 Jul 2022 17:32:37 +0530 Subject: [PATCH] docs: fix when the global footer is displayed (#1026) Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> --- docs/guide/theme-footer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/theme-footer.md b/docs/guide/theme-footer.md index a3e0efde..c154698f 100644 --- a/docs/guide/theme-footer.md +++ b/docs/guide/theme-footer.md @@ -1,6 +1,6 @@ # Footer -When the [page layout](./theme-layout) is set to either `home` or `page`, VitePress will display global footer at the bottom of the page. Set `themeConfig.footer` to configure footer content. +VitePress will display global footer at the bottom of the page when `themeConfig.footer` is present. ```ts export default { @@ -23,4 +23,4 @@ export interface Footer { } ``` -Note that footer will not be displayed when the page layout is set to `doc`. +Note that footer will not be displayed when the [SideBar](./theme-sidebar) is visible.