Skip to content

Commit

Permalink
fix: typo that broke the new link function
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Sep 22, 2024
1 parent 83638a4 commit a5b6146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/parse_frontmatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function getFrontmatterSettings(
unshared: settings.conversion.links.unshared,
convertInternalLinks: settings.conversion.links.internal,
includeLinks: settings.embed.sendSimpleLinks,
unlink: settings.conversion.links.unshared && settings.conversion.links.unlink,
unlink: !settings.conversion.links.unshared && settings.conversion.links.unlink,
};

const shareAll = repo ? repo.shareAll?.enable : settings.plugin.shareAll?.enable;
Expand Down

0 comments on commit a5b6146

Please sign in to comment.