Add canonical tag
This commit is contained in:
parent
14d2f8e956
commit
2365bc19dc
3 changed files with 5 additions and 9 deletions
|
|
@ -6,11 +6,15 @@ export default defineConfig({
|
||||||
site: "https://aluu.xyz",
|
site: "https://aluu.xyz",
|
||||||
integrations: [
|
integrations: [
|
||||||
sitemap({
|
sitemap({
|
||||||
|
priority: 0.5,
|
||||||
lastmod: new Date(),
|
lastmod: new Date(),
|
||||||
i18n: {
|
i18n: {
|
||||||
locales: {
|
locales: {
|
||||||
en: "en-US",
|
en: "en-US",
|
||||||
jp: "ja-JP",
|
jp: "ja-JP",
|
||||||
|
fr: "fr-FR",
|
||||||
|
ru: "ru-RU",
|
||||||
|
zh: "zh-CN",
|
||||||
},
|
},
|
||||||
defaultLocale: "en",
|
defaultLocale: "en",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ const { title, optionalPreloads } = Astro.props;
|
||||||
<meta property="twitter:description" content="Alu is a sleek web proxy supporting multiple standards of communication, and wide levels of customization." />
|
<meta property="twitter:description" content="Alu is a sleek web proxy supporting multiple standards of communication, and wide levels of customization." />
|
||||||
<meta property="twitter:image" content="/logo.png" />
|
<meta property="twitter:image" content="/logo.png" />
|
||||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||||
|
<linK rel="canonical" href={Astro.url.href}>
|
||||||
{
|
{
|
||||||
optionalPreloads?.map((item) => {
|
optionalPreloads?.map((item) => {
|
||||||
return <link rel="preload" href={item.href} as={item.as} />;
|
return <link rel="preload" href={item.href} as={item.as} />;
|
||||||
|
|
|
||||||
9
src/types.d.ts
vendored
9
src/types.d.ts
vendored
|
|
@ -13,15 +13,6 @@ interface Window {
|
||||||
wispData: WispData[];
|
wispData: WispData[];
|
||||||
}
|
}
|
||||||
|
|
||||||
declare global {
|
|
||||||
interface Global {
|
|
||||||
AluStore: AluStore;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add the property to globalThis
|
|
||||||
let AluStore: AluStore;
|
|
||||||
}
|
|
||||||
|
|
||||||
type ExtType = "serviceWorker" | "theme" | "page";
|
type ExtType = "serviceWorker" | "theme" | "page";
|
||||||
|
|
||||||
type Extension = {
|
type Extension = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue