SEO
This component is used to SEO to your Astro project. This component uses Astro SEO for it’s implementation.
Import
Usage
Props
title
- title?
-
string
The title of the website.
titleDefault
- titleDefault
-
string
The default title of the website. This is used if the title is not provided.
titleTemplate
- titleTemplate?
-
string
The template for the title of the website. This is used to format the title. Example: `%s | My Website`.
description
- description?
-
string
The description of the website.
keywords
- keywords?
-
string
The keywords of the website.
image
- image?
-
string
Image URL for the website.
canonical
- canonical?
-
string
The canonical URL of the current page.
author
- author?
-
string
The author of the website.
noindex
- noindex?
-
boolean
Set to `true` to prevent search engines from indexing the website.
nofollow
- nofollow?
-
boolean
Set to `true` to prevent search engines from following links on the website.