Skip to content

Commit

Permalink
fix: add type to the template
Browse files Browse the repository at this point in the history
  • Loading branch information
sywhb committed Apr 13, 2023
1 parent f2a9d18 commit e04f7ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ export default class OmnivorePlugin extends Plugin {
: undefined,
description: article.description,
note: articleNote?.annotation,
type: article.pageType,
});
const frontmatterRegex = /^(---[\s\S]*?---)/gm;
// get the frontmatter from the content
Expand Down

0 comments on commit e04f7ab

Please sign in to comment.