We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96b3345 + fec570d commit 102dde1Copy full SHA for 102dde1
front-matter-ci.py
@@ -77,6 +77,12 @@ def check_noTrailingSlash(meta_to_check):
77
failures.append(meta["permalink"])
78
return "do any permalinks not end with a trailing slash?", failures
79
80
+def check_no_example_index_with_order_under_5(meta_to_check):
81
+ failures = []
82
+ for meta in meta_to_check:
83
+ if meta["order"] < 5 and meta['page_type'] == "u-guide":
84
+ failures.append(meta['permalink'])
85
+ return "do any posts have order less than five but page_type: u-guide?", failures
86
87
categories = [
88
"file_settings",
0 commit comments