diff --git a/docs/configs/settings.md b/docs/configs/settings.md index 5fe30874f..5a32c139f 100644 --- a/docs/configs/settings.md +++ b/docs/configs/settings.md @@ -13,6 +13,14 @@ You can customize the title of the page if you'd like. title: My Awesome Homepage ``` +## Description + +You can customize the description of the page if you'd like. + +```yaml +description: A description of my awesome homepage +``` + ## Start URL You can customize the start_url as required for installable apps. The default is "/". diff --git a/src/pages/_document.jsx b/src/pages/_document.jsx index e69ca0079..310834386 100644 --- a/src/pages/_document.jsx +++ b/src/pages/_document.jsx @@ -4,10 +4,6 @@ export default function Document() { return ( - diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 78af79992..7dbadbf1e 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -359,6 +359,13 @@ function Home({ initialSettings }) { <> {initialSettings.title || "Homepage"} + {settings.base && } {settings.favicon ? ( <>