@sharadox/metadata-web-library 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,9 +27,9 @@ export async function generateMetadata({ params }) {
27
27
  url: "https://sharadox.com",
28
28
  locales: LOCALES,
29
29
  locale,
30
- title: "Sharadox • Technologies that simplify the world",
30
+ title: "Sharadox · Technologies that simplify the world",
31
31
  description: "…",
32
- titleTemplate: "%s • Sharadox",
32
+ titleTemplate: "%s · Sharadox",
33
33
  });
34
34
  }
35
35
  ```
@@ -9,7 +9,7 @@ import type { PageMetadataOptions } from "@sharadox/metadata-web-library/page-me
9
9
  * export async function generateMetadata({ params }) {
10
10
  * const { locale } = await params;
11
11
  * return pageMetadata({ name: "Sharadox", url: "https://sharadox.com", locales: LOCALES, locale,
12
- * title: "Sharadox • Technologies that simplify the world", description: "…" });
12
+ * title: "Sharadox · Technologies that simplify the world", description: "…" });
13
13
  * }
14
14
  */
15
15
  export declare function pageMetadata<Locale extends string>({ name, url, locales, locale, title, description, path, titleTemplate, keywords, indexable, }: PageMetadataOptions<Locale>): Metadata;
@@ -8,7 +8,7 @@ import { SEPARATOR } from "@sharadox/web-library/text/separator";
8
8
  * export async function generateMetadata({ params }) {
9
9
  * const { locale } = await params;
10
10
  * return pageMetadata({ name: "Sharadox", url: "https://sharadox.com", locales: LOCALES, locale,
11
- * title: "Sharadox • Technologies that simplify the world", description: "…" });
11
+ * title: "Sharadox · Technologies that simplify the world", description: "…" });
12
12
  * }
13
13
  */
14
14
  export function pageMetadata({ name, url, locales, locale, title, description, path = "", titleTemplate = `%s ${SEPARATOR} ${name}`, keywords, indexable = true, }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sharadox/metadata-web-library",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Everything search engines, share cards and installation need: page metadata, sitemaps, robots rules, web app manifests, JSON-LD structured data and share images for Next.js.",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENCA.md",