Custom and protected page

I’d like to add some custom static pages to my gitea server, but I’d like them to be availible only to logged users. I believe I know how to add and hide urls to navbars, but it’s only partial solution. What is the easiest way to achieve that?