This commit is contained in:
oe.kazuma 2021-07-21 23:55:13 +09:00
parent 8da44e449f
commit 0d1716060d
2 changed files with 8 additions and 8 deletions

View File

@ -130,7 +130,7 @@ Example:
import MetaTags from 'svelte-meta-tags';
</script>
<MetaTag
<MetaTags
robotsProps={{
nosnippet: true,
notranslate: true,
@ -164,14 +164,14 @@ This link relation is used to indicate a relation between a desktop and a mobile
Example:
```svelte
```js
mobileAlternate={{
media: 'only screen and (max-width: 640px)',
href: 'https://m.canonical.ie'
}}
```
```svelte
```js
languageAlternates={[
{
hrefLang: 'de-AT',
@ -188,7 +188,7 @@ This allows you to add any other meta tags that are not covered in the `config`.
Example:
```svelte
```js
additionalMetaTags={[
{
property: 'dc:creator',
@ -209,7 +209,7 @@ Invalid Examples:
These are invalid as they contain more than one of `name`, `property` and `httpEquiv` on the same entry.
```svelte
```js
additionalMetaTags={[
{
property: 'dc:creator',
@ -231,7 +231,7 @@ Example:
If you pass:
```svelte
```js
additionalMetaTags={[
{
property: 'dc:creator',
@ -258,7 +258,7 @@ This allows you to add any other link tags that are not covered in the `config`.
Example:
```svelte
```js
additionalLinkTags={[
{
rel: 'icon',

View File

@ -1,6 +1,6 @@
{
"name": "svelte-meta-tags",
"version": "0.2.4",
"version": "0.2.5",
"description": "A lightweight library for SEO in Svelte (Made with SvelteKit)",
"license": "MIT",
"scripts": {