@jungvonmatt/cssg-plugin-hugo 1.4.11 → 1.4.12
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/CHANGELOG.md +11 -0
- package/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.4.12](https://github.com/jungvonmatt/contentful-ssg/compare/v1.4.11...v1.4.12) (2022-02-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fix syntax error ([53ac989](https://github.com/jungvonmatt/contentful-ssg/commit/53ac989b9ba92b5c8ccd8759c77b17cf6dcebd22))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [1.4.11](https://github.com/jungvonmatt/contentful-ssg/compare/v1.4.10...v1.4.11) (2022-02-23)
|
|
7
18
|
|
|
8
19
|
|
package/index.js
CHANGED
|
@@ -96,7 +96,7 @@ export default (args) => {
|
|
|
96
96
|
const node = entryMap.get(id);
|
|
97
97
|
const contentType = node?.sys?.contentType?.sys?.id ?? '';
|
|
98
98
|
const pageId = node?.fields?.link_to_entry?.sys?.id;
|
|
99
|
-
if (options.menuRootTypes.
|
|
99
|
+
if (options.menuRootTypes.includes(contentType)) {
|
|
100
100
|
return node;
|
|
101
101
|
}
|
|
102
102
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jungvonmatt/cssg-plugin-hugo",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"typings": "./index.d.ts",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"fs-extra": "^10.0.0",
|
|
31
31
|
"micromatch": "^4.0.4"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "c8949e1d9836e6b1b9310c54e85c66da9e0169f9"
|
|
34
34
|
}
|