chore: drop JSON-ID
This commit is contained in:
parent
50a10cb6cd
commit
f05e8bc768
6
package-lock.json
generated
6
package-lock.json
generated
@ -3903,9 +3903,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/electron-to-chromium": {
|
"node_modules/electron-to-chromium": {
|
||||||
"version": "1.5.54",
|
"version": "1.5.55",
|
||||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.54.tgz",
|
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.55.tgz",
|
||||||
"integrity": "sha512-TX6vHleisn5i/4pekTyy1sdoLXQNy8VFvBK/fJRXSyp7GUO27KioLTG0Qo5wFjM3ZF4ryKinDo4m+IJ+rwUWSw==",
|
"integrity": "sha512-6maZ2ASDOTBtjt9FhqYPRnbvKU5tjG0IN9SztUOWYw2AzNDNpKJYLJmlK0/En4Hs/aiWnB+JZ+gW19PIGszgKg==",
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
"node_modules/emmet": {
|
"node_modules/emmet": {
|
||||||
|
@ -12,7 +12,6 @@ import Header from '@/components/header/Header.astro';
|
|||||||
import PageMeta from '@/components/meta/PageMeta.astro';
|
import PageMeta from '@/components/meta/PageMeta.astro';
|
||||||
import SearchDialog from '@/components/search/SearchDialog.astro';
|
import SearchDialog from '@/components/search/SearchDialog.astro';
|
||||||
import options from '@/options';
|
import options from '@/options';
|
||||||
import { urlJoin } from '@/helpers/tools';
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
title?: string;
|
title?: string;
|
||||||
@ -48,26 +47,6 @@ const description = Astro.props.description || options.description;
|
|||||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
||||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||||
<link rel="manifest" href="/manifest.webmanifest" />
|
<link rel="manifest" href="/manifest.webmanifest" />
|
||||||
<script
|
|
||||||
type="application/ld+json"
|
|
||||||
set:html={JSON.stringify({
|
|
||||||
'@type': 'WebSite',
|
|
||||||
publisher: {
|
|
||||||
'@type': 'Organization',
|
|
||||||
name: options.title,
|
|
||||||
url: options.website,
|
|
||||||
logo: {
|
|
||||||
'@type': 'ImageObject',
|
|
||||||
url: urlJoin(options.website, '/logo.svg'),
|
|
||||||
width: 96,
|
|
||||||
height: 96,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
url: options.website,
|
|
||||||
mainEntityOfPage: options.website,
|
|
||||||
description: options.description,
|
|
||||||
})}
|
|
||||||
/>
|
|
||||||
</head>
|
</head>
|
||||||
<body class="home blog">
|
<body class="home blog">
|
||||||
<div class="site-layout">
|
<div class="site-layout">
|
||||||
|
Loading…
Reference in New Issue
Block a user