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>
|
||||
|
||||
@@ -21,7 +21,7 @@ const { ekintza } = Astro.props;
|
||||
const irudia = ekintza.mainMedia ? getImageData(ekintza.mainMedia) : null;
|
||||
---
|
||||
|
||||
<Layout title={ekintza.izenburua}>
|
||||
<Layout title={ekintza.izenburua} description={ekintza.titularra}>
|
||||
<Header />
|
||||
|
||||
<main>
|
||||
|
||||
@@ -12,7 +12,7 @@ interface Props {
|
||||
const { ekintzak } = Astro.props;
|
||||
---
|
||||
|
||||
<Layout title="Ekintzak">
|
||||
<Layout title="Ekintzak" description="Labak antolatutako ekintza guztiak.">
|
||||
<Header />
|
||||
|
||||
<main>
|
||||
|
||||
@@ -27,7 +27,10 @@ const hurrengoEkintzak = ekintzak.filter((ekintza) =>
|
||||
);
|
||||
---
|
||||
|
||||
<Layout title={izenburua}>
|
||||
<Layout
|
||||
title={izenburua}
|
||||
description="Iruñearen erdigunetik, euskaraz. Harremanak sortu eta garatzen diren espazioa da Laba, betiere euskara ardatz. Euskaraz izateko, egoteko eta egiteko lekua."
|
||||
>
|
||||
<Header isAbsolutePosition />
|
||||
|
||||
<main class="main">
|
||||
|
||||
@@ -12,7 +12,7 @@ interface Props {
|
||||
const { orriBasikoa } = Astro.props;
|
||||
---
|
||||
|
||||
<Layout title={orriBasikoa.izenburua}>
|
||||
<Layout title={orriBasikoa.izenburua} description={orriBasikoa.deskribapena}>
|
||||
<Header />
|
||||
|
||||
<main>
|
||||
|
||||
@@ -12,7 +12,7 @@ interface Props {
|
||||
const { zikloa } = Astro.props;
|
||||
---
|
||||
|
||||
<Layout title={zikloa.izena}>
|
||||
<Layout title={zikloa.izena} description={zikloa.deskribapena}>
|
||||
<Header />
|
||||
<main>
|
||||
<EkintzaZerrenda
|
||||
|
||||
Reference in New Issue
Block a user