mirror of
https://github.com/oekazuma/svelte-meta-tags.git
synced 2025-12-11 20:15:14 +01:00
v0.2.5
This commit is contained in:
parent
8da44e449f
commit
0d1716060d
14
README.md
14
README.md
@ -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',
|
||||
|
||||
@ -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": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user