Новая структура метатегов
This commit is contained in:
parent
18c91e69a5
commit
f08aa37029
5 changed files with 28 additions and 12 deletions
|
|
@ -1,11 +1,12 @@
|
|||
---
|
||||
import '@styles/global.css';
|
||||
import { SITE_TITLE_SUFFIX } from '@constants';
|
||||
|
||||
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 {
|
||||
export interface Props {
|
||||
title: string;
|
||||
description: string;
|
||||
canonicalLink?: string;
|
||||
|
|
@ -21,7 +22,7 @@ const { title, description, canonicalLink } = Astro.props;
|
|||
<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>
|
||||
<title>{title} {SITE_TITLE_SUFFIX}</title>
|
||||
<meta name="description" content={description} />
|
||||
{canonicalLink && <link rel="canonical" href={canonicalLink} />}
|
||||
<!-- Yandex верификация -->
|
||||
|
|
@ -67,5 +68,3 @@ const { title, description, canonicalLink } = Astro.props;
|
|||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue