I've created a template that shows all my blog posts. But the issue was that this page slug (tips-and-tricks) wasn't added to the URL of the single post.
Solution: I've selected this page as my blog page under Settings > Read. Now my url is
https://domain.com/tips-and-tricks/post-name
.
Issue: When I select the page as my blog page, the custom template isn't used anymore. Wordpress uses the index.php file.
How can I use my custom template for this page?