How to remove 'posts' from URLs?

My posts’ URLs always appear in this format:

What can I do to remove that posts from the URLs?
I mean I want to get this:

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

In your site config, try something like:

  posts = "/:title"

It works, thank you very much @moorereason