How to remove 'posts' from URLs?


#1

My posts’ URLs always appear in this format:
https://www.mydomain.com/posts/article-title.html

What can I do to remove that posts from the URLs?
I mean I want to get this:
https://www.mydomain.com//article-title.html

I read the permalinks section on the documentation but can not find how to achieve this.


#2

In your site config, try something like:

[permalinks]
  posts = "/:title"

#3

It works, thank you very much @moorereason