SEO
This component is used to SEO to your Astro project. This component uses Astro SEO for it’s implementation.
Import
import { SEO } from "@aeonkit/astro";Usage
<SEO title="My website title" description="My website description" />Props
title
- title?
-
stringThe title of the website.
titleDefault
- titleDefault
-
stringThe default title of the website. This is used if the title is not provided.
titleTemplate
- titleTemplate?
-
stringThe template for the title of the website. This is used to format the title. Example: `%s | My Website`.
description
- description?
-
stringThe description of the website.
keywords
- keywords?
-
stringThe keywords of the website.
image
- image?
-
stringImage URL for the website.
canonical
- canonical?
-
stringThe canonical URL of the current page.
author
- author?
-
stringThe author of the website.
noindex
- noindex?
-
booleanSet to `true` to prevent search engines from indexing the website.
nofollow
- nofollow?
-
booleanSet to `true` to prevent search engines from following links on the website.