@quintype/seo 1.46.0 → 1.46.1-fix-author-schema.0
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 +3 -0
- package/index.js +7 -4
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1412,6 +1412,9 @@ class SEO {
|
|
|
1412
1412
|
}
|
|
1413
1413
|
|
|
1414
1414
|
getMetaTags(config, pageType, data, params = {}) {
|
|
1415
|
+
console.log("============================");
|
|
1416
|
+
console.log({ config, pageType, data, params });
|
|
1417
|
+
console.log("============================");
|
|
1415
1418
|
pageType = lodash.get(this.seoConfig, ["pageTypeAliases", pageType], pageType);
|
|
1416
1419
|
return new MetaTagList(lodash.flatMap(this.generators, generator => generator(this.seoConfig, config, pageType, data, params)));
|
|
1417
1420
|
}
|
package/index.js
CHANGED
|
@@ -7,15 +7,15 @@ import { generateStaticData, generateStructuredData } from "./src/generate-commo
|
|
|
7
7
|
import { ImageTags } from "./src/image-tags.js";
|
|
8
8
|
import { StaticTags } from "./src/static-tags.js";
|
|
9
9
|
import { StructuredDataTags } from "./src/structured-data/structured-data-tags.js";
|
|
10
|
-
import {
|
|
10
|
+
import { TextTags, getTitle } from "./src/text-tags.js";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
|
-
TextTags,
|
|
14
|
-
StaticTags,
|
|
15
13
|
AuthorTags,
|
|
16
14
|
ImageTags,
|
|
17
|
-
|
|
15
|
+
StaticTags,
|
|
18
16
|
StoryAmpTags,
|
|
17
|
+
StructuredDataTags,
|
|
18
|
+
TextTags,
|
|
19
19
|
generateStaticData,
|
|
20
20
|
generateStructuredData,
|
|
21
21
|
};
|
|
@@ -113,6 +113,9 @@ export class SEO {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
getMetaTags(config, pageType, data, params = {}) {
|
|
116
|
+
console.log("============================");
|
|
117
|
+
console.log({ config, pageType, data, params });
|
|
118
|
+
console.log("============================");
|
|
116
119
|
pageType = get(this.seoConfig, ["pageTypeAliases", pageType], pageType);
|
|
117
120
|
return new MetaTagList(
|
|
118
121
|
flatMap(this.generators, (generator) => generator(this.seoConfig, config, pageType, data, params))
|