Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "astro-seo", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Makes it easy to add SEO relevant tags to your Astro app.", | ||
@@ -15,3 +15,4 @@ "homepage": "https://github.com/jonasmerlin/astro-seo#readme", | ||
"src/index.js", | ||
"src/SEO.astro" | ||
"src/SEO.astro", | ||
"components" | ||
], | ||
@@ -18,0 +19,0 @@ "exports": "./src/index.js", |
@@ -19,3 +19,3 @@ ![Astro SEO Logo](https://user-images.githubusercontent.com/5182256/131216951-8f74f425-f775-463d-a11b-0e01ad9fce8d.png) | ||
--- | ||
import { SEO } from 'astro-seo' | ||
import { SEO } from "astro-seo"; | ||
--- | ||
@@ -25,13 +25,9 @@ | ||
<head> | ||
<SEO | ||
title="A Very Descriptive Title" | ||
description="A heavily optimized description full of well-researched keywords." | ||
/> | ||
</head> | ||
// ... rest of <head> | ||
<body> | ||
// ... body | ||
</body> | ||
</html> | ||
<SEO | ||
title="A Very Descriptive Title" | ||
description="A heavily optimized description full of well-researched keywords." /> | ||
</head> | ||
// ... rest of <head> | ||
<body> // ... body </body> | ||
</head></html> | ||
``` | ||
@@ -45,3 +41,3 @@ | ||
description | string | Text that gives a concise description of what your page is about. | ||
canonical | string | Prevent duplicate content issues by specifying the "canonical" or "preferred" url of a web page. If you don't define this, Astro.request.canonicalURL.href will be used as the default value. | ||
canonical | string | Prevent duplicate content issues by specifying the "canonical" or "preferred" url of a web page. If you don't define this, `Astro.request.canonicalURL.href` will be used as the default value. | ||
noindex | boolean | Set this to true if you don't want search engines to index your page. Since this is an SEO component, this gets set to `false` by default. This way, indexing is strictly opt-out. | ||
@@ -108,17 +104,17 @@ nofollow | boolean | Set this to true if you don't want search engines to follow links on your page. Since this is an SEO component, this gets set to `false` by default. This way, following links is strictly opt-out. | ||
openGraph?: { | ||
basic: { | ||
title: string; | ||
type: string; | ||
image: string; | ||
url: string; | ||
}, | ||
optional?: { | ||
audio?: string; | ||
description?: string; | ||
determiner?: string; | ||
locale?: string; | ||
localeAlternate?: Array<string>; | ||
siteName?: string; | ||
video?: string; | ||
} | ||
basic: { | ||
title: string; | ||
type: string; | ||
image: string; | ||
url: string; | ||
}, | ||
optional?: { | ||
audio?: string; | ||
description?: string; | ||
determiner?: string; | ||
locale?: string; | ||
localeAlternate?: Array<string>; | ||
siteName?: string; | ||
video?: string; | ||
} | ||
} | ||
@@ -125,0 +121,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14627
147