I want to create a slug field in the front matter. The filename should be fetched, then replace space with “-” & uppercase to small case.
My New Note Here.md
I host my osidian notes as website in Github Pages using Hugo. This creates a lot of problems with internal links.
Eg: If I point to a note in obsidian called
Obsidian Generated MarkDown Link :
URL Generated in Hugo (Github) :
It changes url into smallcase & replaces spaces (%20) with - .
A custom field slug in the frontmatter will be easy to copy paste.