Skip to content

Commit

Permalink
Change page title resolving strategy
Browse files Browse the repository at this point in the history
Fixes #924
  • Loading branch information
3y3 committed Dec 2, 2024
1 parent e259ab4 commit b44a743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolvers/md2html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const getFileProps = async (options: ResolverOptions) => {
return {
data: {
...data,
title: data.meta.title || data.title || '',
title: data.title || data.meta.title || '',
leading: inputPath.endsWith('.yaml'),
},
router: {
Expand Down

0 comments on commit b44a743

Please sign in to comment.