mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-07 07:43:39 +01:00
Feature: meta description setting (#4513)
This commit is contained in:
parent
4f27ffbe2d
commit
a158866ca1
@ -13,6 +13,14 @@ You can customize the title of the page if you'd like.
|
|||||||
title: My Awesome Homepage
|
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
|
## Start URL
|
||||||
|
|
||||||
You can customize the start_url as required for installable apps. The default is "/".
|
You can customize the start_url as required for installable apps. The default is "/".
|
||||||
|
@ -4,10 +4,6 @@ export default function Document() {
|
|||||||
return (
|
return (
|
||||||
<Html>
|
<Html>
|
||||||
<Head>
|
<Head>
|
||||||
<meta
|
|
||||||
name="description"
|
|
||||||
content="A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations."
|
|
||||||
/>
|
|
||||||
<meta name="mobile-web-app-capable" content="yes" />
|
<meta name="mobile-web-app-capable" content="yes" />
|
||||||
<link rel="manifest" href="/site.webmanifest?v=4" crossOrigin="use-credentials" />
|
<link rel="manifest" href="/site.webmanifest?v=4" crossOrigin="use-credentials" />
|
||||||
<link rel="preload" href="/api/config/custom.css" as="style" />
|
<link rel="preload" href="/api/config/custom.css" as="style" />
|
||||||
|
@ -359,6 +359,13 @@ function Home({ initialSettings }) {
|
|||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
<title>{initialSettings.title || "Homepage"}</title>
|
<title>{initialSettings.title || "Homepage"}</title>
|
||||||
|
<meta
|
||||||
|
name="description"
|
||||||
|
content={
|
||||||
|
initialSettings.description ||
|
||||||
|
"A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations."
|
||||||
|
}
|
||||||
|
/>
|
||||||
{settings.base && <base href={settings.base} />}
|
{settings.base && <base href={settings.base} />}
|
||||||
{settings.favicon ? (
|
{settings.favicon ? (
|
||||||
<>
|
<>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user