feat: SEO hobekuntzak ezartzen ditu
This commit is contained in:
@@ -4,9 +4,10 @@ import "../style/vars/index.scss";
|
|||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
|
description?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { title } = Astro.props;
|
const { title, description = "" } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
@@ -21,10 +22,12 @@ const { title } = Astro.props;
|
|||||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||||
<title>{title} | Laba</title>
|
<title>{title} | Laba</title>
|
||||||
|
|
||||||
<meta
|
{description && <meta name="description" content={description} />}
|
||||||
name="description"
|
|
||||||
content="Iruñearen erdigunetik, euskaraz. Harremanak sortu eta garatzen diren espazioa da Laba, betiere euskara ardatz. Euskaraz izateko, egoteko eta egiteko lekua."
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ const { ekintza } = Astro.props;
|
|||||||
const irudia = ekintza.mainMedia ? getImageData(ekintza.mainMedia) : null;
|
const irudia = ekintza.mainMedia ? getImageData(ekintza.mainMedia) : null;
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title={ekintza.izenburua}>
|
<Layout title={ekintza.izenburua} description={ekintza.titularra}>
|
||||||
<Header />
|
<Header />
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ interface Props {
|
|||||||
const { ekintzak } = Astro.props;
|
const { ekintzak } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="Ekintzak">
|
<Layout title="Ekintzak" description="Labak antolatutako ekintza guztiak.">
|
||||||
<Header />
|
<Header />
|
||||||
|
|
||||||
<main>
|
<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 />
|
<Header isAbsolutePosition />
|
||||||
|
|
||||||
<main class="main">
|
<main class="main">
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ interface Props {
|
|||||||
const { orriBasikoa } = Astro.props;
|
const { orriBasikoa } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title={orriBasikoa.izenburua}>
|
<Layout title={orriBasikoa.izenburua} description={orriBasikoa.deskribapena}>
|
||||||
<Header />
|
<Header />
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ interface Props {
|
|||||||
const { zikloa } = Astro.props;
|
const { zikloa } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title={zikloa.izena}>
|
<Layout title={zikloa.izena} description={zikloa.deskribapena}>
|
||||||
<Header />
|
<Header />
|
||||||
<main>
|
<main>
|
||||||
<EkintzaZerrenda
|
<EkintzaZerrenda
|
||||||
|
|||||||
Reference in New Issue
Block a user