You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add disableCanonical so that canonical linking happens when path is empty
* respond to feedback and update readme
* update to readme formatting
* rename prop readme
* bump version, adjust readme
* update readme again..
* updated again
* Update README.md
Co-authored-by: Paulo <[email protected]>
* add pathUrl to og:url
* update to pageurl
* fix formatting
* Update README.md
* run fix again
Co-authored-by: Paulo <[email protected]>
| **render** | React.ReactNode | **Yes** | Unfortunately `react-helmet` and `next/head` are strict with how they accept meta tags. `react-helmet` doesn't support nesting. Whereas Next.JS only supports some children and not all, therefore a render function is required. |
67
-
| **pageTitle** | string | **No** | Unique page title that describes the page, such as `Home`, `About` etc. etc. |
68
-
| **siteTitle** | string | **Yes** | Title of the site, usually the organization / brand name. If `pageTitle` and `siteTitle` are the same, only this shows. |
69
-
| **titleTemplate** | string | **No** | Title template used to display `pageTitle` and `siteTitle` in a template, displays the values using corresponding `[pageTitle]` and `[siteTitle]`. Example template: "[pageTitle] | [siteTitle]". |
70
-
| **description** | string | **Yes** | A one to two sentence description of your webpage. Keep it within 160 characters, and write it to catch the user's attention. |
71
-
| **baseSiteUrl** | string | **Yes** | Base site URL, excluding trailing slash. |
72
-
| **pagePath** | string | **No** | The path of the current page, excluding leading slash. |
73
-
| **canonicalUrl** | string| **No** | The canonical URL, if your page is a duplicate. |
74
-
| **keywords** | string|string[] | **No** | List of SEO keywords describing what your webpage does. Example, `"your, tags"` or `["your", "tags"]`. |
75
-
| **imageUrl** | string | **Yes** | Image url of asset to share. Recommended aspect ratio for landscape is 1.9:1 (1200x630) or for squares 1:1 (1200x1200). For more info, visit [here](https://iamturns.com/open-graph-image-size/). If a relative URL is provided, `baseSiteUrl` is prefixed. If specifying a relative URL do not add the leading slash. |
76
-
| **imageAlt** | string | **Yes** | Image alt for users who are visually impaired. |
77
-
| **imageWidth** | number | **No** | Width of share image, defaults to `1200`. |
78
-
| **imageHeight** | number | **No** | Height of share image, defaults to `630`. |
79
-
| **locale** | string | **No** | The locale these tags are marked up in, such as; `en_GB`, `fr_FR` and `es_ES`. Defaults to `en_US`. |
| **render** | React.ReactNode | **Yes** | Unfortunately `react-helmet` and `next/head` are strict with how they accept meta tags. `react-helmet` doesn't support nesting. Whereas Next.JS only supports some children and not all, therefore a render function is required. |
67
+
| **pageTitle** | string | **No** | Unique page title that describes the page, such as `Home`, `About` etc. etc. |
68
+
| **siteTitle** | string | **Yes** | Title of the site, usually the organization / brand name. If `pageTitle` and `siteTitle` are the same, only this shows. |
69
+
| **titleTemplate** | string | **No** | Title template used to display `pageTitle` and `siteTitle` in a template, displays the values using corresponding `[pageTitle]` and `[siteTitle]`. Example template: "[pageTitle] | [siteTitle]". |
70
+
| **description** | string | **Yes** | A one to two sentence description of your webpage. Keep it within 160 characters, and write it to catch the user's attention. |
71
+
| **baseSiteUrl** | string | **Yes** | Base site URL, excluding trailing slash. |
72
+
| **pagePath** | string | **No** | The path of the current page, excluding leading slash. |
73
+
| **disableCanonical** | boolean | **No** | Disable canonical if not desired, defaults to `false`. |
74
+
| **keywords** | string|string[] | **No** | List of SEO keywords describing what your webpage does. Example, `"your, tags"` or `["your", "tags"]`. |
75
+
| **imageUrl** | string | **Yes** | Image url of asset to share. Recommended aspect ratio for landscape is 1.9:1 (1200x630) or for squares 1:1 (1200x1200). For more info, visit [here](https://iamturns.com/open-graph-image-size/). If a relative URL is provided, `baseSiteUrl` is prefixed. If specifying a relative URL do not add the leading slash. |
76
+
| **imageAlt** | string | **Yes** | Image alt for users who are visually impaired. |
77
+
| **imageWidth** | number | **No** | Width of share image, defaults to `1200`. |
78
+
| **imageHeight** | number | **No** | Height of share image, defaults to `630`. |
79
+
| **locale** | string | **No** | The locale these tags are marked up in, such as; `en_GB`, `fr_FR` and `es_ES`. Defaults to `en_US`. |
0 commit comments