fix: display name for file nodes
This commit is contained in:
parent
e3306cc475
commit
b8fbb64cad
@ -160,7 +160,7 @@ export function ExplorerNode({ node, opts, fullPath, fileData }: ExplorerNodePro
|
||||
// Single file node
|
||||
<li key={node.file.slug}>
|
||||
<a href={resolveRelative(fileData.slug!, node.file.slug!)} data-for={node.file.slug}>
|
||||
{node.file.frontmatter?.title}
|
||||
{node.name}
|
||||
</a>
|
||||
</li>
|
||||
) : (
|
||||
|
Loading…
Reference in New Issue
Block a user