astro-accelerator-utils 0.2.31 → 0.2.32

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.
@@ -83,6 +83,11 @@ export function isListable (p) {
83
83
  return false;
84
84
  }
85
85
 
86
+ if (p.frontmatter == null || p.frontmatter.layout == null) {
87
+ console.log('No frontmatter layout for ' + p.url);
88
+ return false;
89
+ }
90
+
86
91
  if (p.frontmatter.layout.includes('/Redirect.astro')) {
87
92
  return false;
88
93
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-accelerator-utils",
3
- "version": "0.2.31",
3
+ "version": "0.2.32",
4
4
  "description": "Astro utilities for Astro Accelerator.",
5
5
  "main": "index.mjs",
6
6
  "type": "module",