Skip to content
Discussion options

You must be logged in to vote
      frontmatter = {
        func = function(note)
          local out = require("obsidian.builtin").frontmatter(note)
          if out.aliases[1] == out.id then
            table.remove(out.aliases, 1)
          end
          return out
        end,
      },

bit of a hack, but should work, it also makes me think why do we actually insert the title as alias, maybe should not do it.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by barcell1
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