For the blog page, we want to put this on a different route than the main pages. We can do this by making a directory titled "blog" and having a "page.tsx" file within it. This will put a page on the /blog route. When it comes to blogs, there is multiple posts as well. We want to display all the posts on the page.tsx file. However, if a viewer wants to view an individual post, we will need a dynamic route under the blog directory. We can do this by making a [filename] directory under the blog directory and put a page.tsx within it. From there, we will need to get the data from TinaCMS, similar to how it was done in the current [filename] directory within the src folder, and display the individual pages according to the route. I am not sure, but you may need to make a new collection that holds all of the posts in the config.ts file under the Tina directory. Here is the current layout of their blog page:
For the blog page, we want to put this on a different route than the main pages. We can do this by making a directory titled "blog" and having a "page.tsx" file within it. This will put a page on the /blog route. When it comes to blogs, there is multiple posts as well. We want to display all the posts on the page.tsx file. However, if a viewer wants to view an individual post, we will need a dynamic route under the blog directory. We can do this by making a [filename] directory under the blog directory and put a page.tsx within it. From there, we will need to get the data from TinaCMS, similar to how it was done in the current [filename] directory within the src folder, and display the individual pages according to the route. I am not sure, but you may need to make a new collection that holds all of the posts in the config.ts file under the Tina directory. Here is the current layout of their blog page: