chore: drop JSON-ID
This commit is contained in:
parent
364cacfc4d
commit
d127e33d46
6
package-lock.json
generated
6
package-lock.json
generated
@ -3903,9 +3903,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/electron-to-chromium": {
|
||||
"version": "1.5.54",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.54.tgz",
|
||||
"integrity": "sha512-TX6vHleisn5i/4pekTyy1sdoLXQNy8VFvBK/fJRXSyp7GUO27KioLTG0Qo5wFjM3ZF4ryKinDo4m+IJ+rwUWSw==",
|
||||
"version": "1.5.55",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.55.tgz",
|
||||
"integrity": "sha512-6maZ2ASDOTBtjt9FhqYPRnbvKU5tjG0IN9SztUOWYw2AzNDNpKJYLJmlK0/En4Hs/aiWnB+JZ+gW19PIGszgKg==",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/emmet": {
|
||||
|
@ -12,7 +12,6 @@ import Header from '@/components/header/Header.astro';
|
||||
import PageMeta from '@/components/meta/PageMeta.astro';
|
||||
import SearchDialog from '@/components/search/SearchDialog.astro';
|
||||
import options from '@/options';
|
||||
import { urlJoin } from '@/helpers/tools';
|
||||
|
||||
interface Props {
|
||||
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="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
<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>
|
||||
<body class="home blog">
|
||||
<div class="site-layout">
|
||||
|
Loading…
Reference in New Issue
Block a user