kopia lustrzana https://github.com/Stopka/fedisearch
Fixed metadata
rodzic
7b522b2df9
commit
177785c6a3
|
@ -5,6 +5,7 @@ import getMatomo from '../lib/getMatomo'
|
||||||
import { UserOptions } from '@datapunt/matomo-tracker-js/es/types'
|
import { UserOptions } from '@datapunt/matomo-tracker-js/es/types'
|
||||||
|
|
||||||
export const siteTitle = 'FediSearch'
|
export const siteTitle = 'FediSearch'
|
||||||
|
export const siteDescription = 'Search people on Fediverse'
|
||||||
|
|
||||||
const Layout:React.FC<{ matomoConfig:UserOptions, children: React.ReactNode }> = ({ matomoConfig, children }) => {
|
const Layout:React.FC<{ matomoConfig:UserOptions, children: React.ReactNode }> = ({ matomoConfig, children }) => {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
@ -13,17 +14,14 @@ const Layout:React.FC<{ matomoConfig:UserOptions, children: React.ReactNode }> =
|
||||||
return (
|
return (
|
||||||
<div className={'container'}>
|
<div className={'container'}>
|
||||||
<Head>
|
<Head>
|
||||||
|
<title>{siteTitle}</title>
|
||||||
<link rel="icon" href="/fedisearch.png"/>
|
<link rel="icon" href="/fedisearch.png"/>
|
||||||
<meta
|
<meta name="description" content={siteDescription}/>
|
||||||
name="description"
|
|
||||||
content="Learn how to build a personal website using Next.js"
|
|
||||||
/>
|
|
||||||
<meta
|
|
||||||
property="og:image"
|
|
||||||
content={'/fedisearch.png'}
|
|
||||||
/>
|
|
||||||
<meta name="og:title" content={siteTitle}/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
|
<meta property="og:title" content={siteTitle}/>
|
||||||
|
<meta property="og:description" content={siteDescription}/>
|
||||||
|
<meta property="og:image" content="/fedisearch.png"/>
|
||||||
|
<meta property="og:type" content="website"/>
|
||||||
</Head>
|
</Head>
|
||||||
<header>
|
<header>
|
||||||
<h1><a href={'/'}>FediSearch</a></h1>
|
<h1><a href={'/'}>FediSearch</a></h1>
|
||||||
|
|
Ładowanie…
Reference in New Issue