I've setup statamic on my local end. The problem is If I create a new page and choose a page type, It saved it in admin dashboard but when I check that page in frontend it always uses the default template. I looked into the code and find out it didn't save the template in .md file of the page. as well as Whenever I update the fieldset and add a new field in it then it saved in the dashboard but again It didn't changed in the frontend. the same thing is happening here It didn't update the template files in the code.
New page is not using correct template