diff --git a/src/templates/Markdown/MarkdownList.jsx b/src/templates/Markdown/MarkdownList.jsx index bc4ef530..c1424ae5 100644 --- a/src/templates/Markdown/MarkdownList.jsx +++ b/src/templates/Markdown/MarkdownList.jsx @@ -63,11 +63,15 @@ export default function MarkdownList({ location, pageContext }) { const keys = Object.keys(nestedModules).sort() const children = [] - children.push( -
  • - {title} -
  • - ) + if (title) { + children.push( +
  • + {title} +
  • + ) + } + + keys.forEach((element) => { children.push(