-
|
In my config i have the code below that makes the ID the same as the note title, but the aliases also receive the same "title name", so im seeking a way to make the aliases blank , but still have it on the frontmatter to add manually the names when i want |
Beta Was this translation helpful? Give feedback.
Answered by
neo451
Nov 4, 2025
Replies: 1 comment 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
barcell1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.