feat: SEO hobekuntzak ezartzen ditu
This commit is contained in:
@@ -4,9 +4,10 @@ import "../style/vars/index.scss";
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
const { title } = Astro.props;
|
||||
const { title, description = "" } = Astro.props;
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
@@ -21,10 +22,12 @@ const { title } = Astro.props;
|
||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||
<title>{title} | Laba</title>
|
||||
|
||||
<meta
|
||||
name="description"
|
||||
content="Iruñearen erdigunetik, euskaraz. Harremanak sortu eta garatzen diren espazioa da Laba, betiere euskara ardatz. Euskaraz izateko, egoteko eta egiteko lekua."
|
||||
/>
|
||||
{description && <meta name="description" content={description} />}
|
||||
|
||||
<meta property="og:title" content={title} />
|
||||
<meta property="og:description" content={description} />
|
||||
<meta property="og:locale" content="eu" />
|
||||
<meta name="fediverse:creator" content="@labasarea@mastodon.eus" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user