Can’t get both static home page AND pages in sub folders to work at the same time

Hi,

I’m trying to do something similar to this,

I want my pages to be like this:

gallery/tattoo-making/
gallery/tattoo-removal/
gallery/tattoo-training/

I created .md files like this:
Screenshot_1

and under theme/themename/layouts:
image

But when I open the page localhost:1313/gallery/tattoo-making/
only home page renders

What should I do to create multiple paths under one folder name?

I got the solution from this link:
https://discourse.gohugo.io/t/my-experiences-with-hugos-template-lookup-order/9959