Skip to content

Permalink problem #3603

Answered by freshyill
Njthon asked this question in Q&A
Dec 28, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Did you get this sorted out?

Here's how the plugin sets permalinks. If it finds the tag gardenEntry, then it sets the permalink to be the homepage.

permalink: (data) => {
  if (data.tags.indexOf("gardenEntry") != -1) {
    return "/";
  }
  return data.permalink || undefined;
},

It looks like that gets added when you check the "dg-home" checkbox in the Obsidian plugin. Are you using gardenEntry or something similar as a tag on your notes? If so, try removing the tag.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Njthon
Comment options

Answer selected by Njthon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants