Добавлена система поисковых метатегов
This commit is contained in:
parent
bcf37184e5
commit
ab1335e692
6 changed files with 29 additions and 2 deletions
|
|
@ -4,6 +4,14 @@ import '@styles/global.css';
|
|||
import Header from "@components/layout/header/Header.astro";
|
||||
import Footer from "@components/layout/footer/Footer.astro";
|
||||
import ConsultationModal from "@components/base/ConsultationModal.astro";
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
description: string;
|
||||
canonicalLink?: string;
|
||||
}
|
||||
|
||||
const { title, description, canonicalLink } = Astro.props;
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
|
|
@ -13,9 +21,11 @@ import ConsultationModal from "@components/base/ConsultationModal.astro";
|
|||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicons/favicon.svg" />
|
||||
<link rel="icon" href="/favicons/favicon.ico" />
|
||||
<title>{title}</title>
|
||||
<meta name="description" content={description} />
|
||||
{canonicalLink && <link rel="canonical" href={canonicalLink} />}
|
||||
<!-- Yandex верификация -->
|
||||
<meta name="yandex-verification" content="be3edfd138348e43" />
|
||||
<title>Автоюрист в Сургуте</title>
|
||||
</head>
|
||||
<body>
|
||||
<Header />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue