Serving one section on root along with other sections

Apologies if this has been asked before, as I couldn’t find a topic for this.

I would like to display my blog posts on site root (/),
and have pages for projects and about, which shouldn’t be displayed as a blog post, but available at (/projects, /about).

How can I achieve this?

You can mark your blog section as transparent but the URLs will still contain /blog/

Ah, must’ve missed that while reading the docs.

With transparent = true, I should be able to load the blog posts in site root, but when an user clicks on a post they would be on /blog/title.

Did I got that right?

Exactly

Works like a charm, thanks for the help!

Just noticed that this also displays projects and about as a blog post,
How can I prevent this from happening?

File tree below:

├── content
│   ├── _index.md
│   ├── about.md
│   ├── posts
│   │   ├── 2023-01-17-hello-blog.md
│   │   ├── 2023-01-18-multiple-posts.md
│   │   └── _index.md
│   └── projects.md

The easiest way is to make them sections so you end up with:

content/about/_index.md
content/projects/_index.md
content/posts/...