chore: drop JSON-ID

This commit is contained in:
Yufan Sheng 2024-11-08 11:35:32 +08:00
parent 50a10cb6cd
commit f05e8bc768
Signed by: syhily
GPG Key ID: 9D18A22A7DCD5A9B
2 changed files with 3 additions and 24 deletions

6
package-lock.json generated
View File

@ -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": {

View File

@ -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">