How to hide section slug in url

The solution I use is that I create my new page by a simple shell script that generates the frontmatter… and thus can set automagically the path.

You may thus just want to add this feature in the process you use to create new pages.

I guess a lot of people use some sort of script/process to create new pages, e.g: