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
[!frontmatterProperties, `Please set frontmatter properties`],
64
80
[isClusterTagExist == undefined, `You Should add '${clusterTagName}' tag which refers to the containing cluster.`],
65
-
[parentFileLink === undefined, "Set the parent property."],
66
-
[parentFileLink === null, "The parent property should'nt be empty."],
67
-
[parentFileLink === "", "The parent property should'nt be empty."],
68
-
[parentFileLink !== activeFileParentLink, `The parent property should be link to '${activeFile.parent?.name}' file.\nlike:${activeFileParentLink}`],
81
+
[parentLink.frontmatter === undefined, "Set the parent property."],
82
+
[parentLink.frontmatter === null, "The parent property should'nt be empty."],
83
+
[parentLink.frontmatter === "", "The parent property should'nt be empty."],
84
+
[!checkParentLinkInFrontmatter(), `The parent property should be link to '${activeFile.parent?.name}' file.\nlike:${parentLink.absolute}\nor:${parentLink.wiki}\nor:${parentLink.bare}`],
69
85
[!(typeof (generationFromActiveFileFrontmatterProperties) === 'number'), "The Cluster's generation property must be Number.\nChange the property type to Number"],
70
86
[generationFromActiveFileFrontmatterProperties == 0, "JUST Clusters's generation property must be 0"],
71
87
[generationFromActiveFileFrontmatterProperties !== generationFromActiveFilePath, `The generation property must be ${generationFromActiveFilePath}`],
[!frontmatterProperties, `Please set frontmatter properties`],
102
134
[isClusterTagExist == undefined, `You Should add '${clusterTagName}' tag which refers to the containing cluster.`],
103
-
[parentFileLink === undefined, "Set the parent property."],
104
-
[parentFileLink === null, "The parent property should'nt be empty."],
105
-
[parentFileLink === "", "The parent property should'nt be empty."],
106
-
[parentFileLink !== activeFileParentLink, `The parent property should be link to '${activeFile.parent?.name}' file.\nlike:${activeFileParentLink}`],
135
+
[parentLink.frontmatter === undefined, "Set the parent property."],
136
+
[parentLink.frontmatter === null, "The parent property should'nt be empty."],
137
+
[parentLink.frontmatter === "", "The parent property should'nt be empty."],
138
+
[!checkParentLinkInFrontmatter(), `The parent property should be link to '${activeFile.parent?.name}' file.\nlike:${parentLink.absolute}\nor:${parentLink.wiki}\nor:${parentLink.bare}`],
107
139
[!(typeof (generationFromActiveFileFrontmatterProperties) === 'number'), "The Cluster's generation property must be Number.\nChange the property type to Number"],
108
140
[generationFromActiveFileFrontmatterProperties == 0, "JUST Clusters's generation property must be 0"],
109
141
[generationFromActiveFileFrontmatterProperties !== generationFromActiveFilePath, `The generation property must be ${generationFromActiveFilePath}`],
0 commit comments