fix: replace Payload Website Template with Layer & Mesh
This commit is contained in:
parent
1044ff07c6
commit
f80966c657
2
next-env.d.ts
vendored
2
next-env.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
import "./.next/dev/types/routes.d.ts";
|
||||
import "./.next/types/routes.d.ts";
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
||||
|
||||
@ -3,9 +3,9 @@ User-agent: *
|
||||
Disallow: /admin/*
|
||||
|
||||
# Host
|
||||
Host: http://localhost:3000
|
||||
Host: https://usa.layermesh.com
|
||||
|
||||
# Sitemaps
|
||||
Sitemap: http://localhost:3000/sitemap.xml
|
||||
Sitemap: http://localhost:3000/pages-sitemap.xml
|
||||
Sitemap: http://localhost:3000/posts-sitemap.xml
|
||||
Sitemap: https://usa.layermesh.com/sitemap.xml
|
||||
Sitemap: https://usa.layermesh.com/pages-sitemap.xml
|
||||
Sitemap: https://usa.layermesh.com/posts-sitemap.xml
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<sitemap><loc>http://localhost:3000/pages-sitemap.xml</loc></sitemap>
|
||||
<sitemap><loc>http://localhost:3000/posts-sitemap.xml</loc></sitemap>
|
||||
<sitemap><loc>https://usa.layermesh.com/pages-sitemap.xml</loc></sitemap>
|
||||
<sitemap><loc>https://usa.layermesh.com/posts-sitemap.xml</loc></sitemap>
|
||||
</sitemapindex>
|
||||
@ -86,6 +86,6 @@ export default async function Page({ searchParams: searchParamsPromise }: Args)
|
||||
|
||||
export function generateMetadata(): Metadata {
|
||||
return {
|
||||
title: `Payload Website Template Search`,
|
||||
title: `Layer & Mesh Search`,
|
||||
}
|
||||
}
|
||||
|
||||
@ -27,8 +27,8 @@ export const generateMeta = async (args: {
|
||||
const ogImage = getImageURL(doc?.meta?.image)
|
||||
|
||||
const title = doc?.meta?.title
|
||||
? doc?.meta?.title + ' | Payload Website Template'
|
||||
: 'Payload Website Template'
|
||||
? doc?.meta?.title + ' | Layer & Mesh'
|
||||
: 'Layer & Mesh'
|
||||
|
||||
return {
|
||||
description: doc?.meta?.description,
|
||||
|
||||
@ -9,8 +9,8 @@ const defaultOpenGraph: Metadata['openGraph'] = {
|
||||
url: `${getServerSideURL()}/website-template-OG.webp`,
|
||||
},
|
||||
],
|
||||
siteName: 'Payload Website Template',
|
||||
title: 'Payload Website Template',
|
||||
siteName: 'Layer & Mesh',
|
||||
title: 'Layer & Mesh',
|
||||
}
|
||||
|
||||
export const mergeOpenGraph = (og?: Metadata['openGraph']): Metadata['openGraph'] => {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user