@quintype/seo 1.41.3-gsc-errors-fix.0 → 1.41.3-gsc-errors-fix.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/dist/index.cjs.js +1 -0
- package/package.json +1 -1
- package/src/amp-tags.js +1 -0
package/dist/index.cjs.js
CHANGED
|
@@ -78,6 +78,7 @@ const getDomain = (url, domainSlug) => {
|
|
|
78
78
|
* @param {(boolean|"public")} seoConfig.ampStoryPages Should amp story pages be shown for all stories (true), not shown (false), or only be shown for public stories ("public"). Default: true
|
|
79
79
|
* @param {(boolean)} seoConfig.appendHostToAmpUrl If set to true, the url to be appended to the slug is computed based on the currentHostUrl and the domain slug, else the url is taken as the sketches host. Default: false
|
|
80
80
|
* @param {(boolean)} seoConfig.decodeAmpUrl If set to true, the storySlug that goes as the amp href url is decoded, else the storyslug is encoded. Default: false
|
|
81
|
+
* @param {(boolean)} seoConfig.ignoreAmpHtmlStoryTemplates pass all the story templates you want to ignore from add rel="amphtml" tag. Default: ["visual story"]
|
|
81
82
|
* @param {...*} params See {@link Generator} for other Parameters
|
|
82
83
|
*/
|
|
83
84
|
function StoryAmpTags(seoConfig, config, pageType, data = {}, opts) {
|
package/package.json
CHANGED
package/src/amp-tags.js
CHANGED
|
@@ -30,6 +30,7 @@ const getDomain = (url, domainSlug) => {
|
|
|
30
30
|
* @param {(boolean|"public")} seoConfig.ampStoryPages Should amp story pages be shown for all stories (true), not shown (false), or only be shown for public stories ("public"). Default: true
|
|
31
31
|
* @param {(boolean)} seoConfig.appendHostToAmpUrl If set to true, the url to be appended to the slug is computed based on the currentHostUrl and the domain slug, else the url is taken as the sketches host. Default: false
|
|
32
32
|
* @param {(boolean)} seoConfig.decodeAmpUrl If set to true, the storySlug that goes as the amp href url is decoded, else the storyslug is encoded. Default: false
|
|
33
|
+
* @param {(boolean)} seoConfig.ignoreAmpHtmlStoryTemplates pass all the story templates you want to ignore from add rel="amphtml" tag. Default: ["visual story"]
|
|
33
34
|
* @param {...*} params See {@link Generator} for other Parameters
|
|
34
35
|
*/
|
|
35
36
|
export function StoryAmpTags(seoConfig, config, pageType, data = {}, opts) {
|