Add template for a single post
- Create post_page.html file which holds the postPage template for a single post
- postPage template yields to the postItem partial
Add route for postPage template
- Route has a parameter _id which refers to the post id in MongoDB
Pass data variable to single post page
- Returns post based on post id
Add path for each postPage in post_item html
- As each iterates through every post item, the dynamic route is added
- Route is added using routeFor postPage helper
- A discuss button is also added as the clickable element for each path
Merge pull request #12 from alexanderdavidpan/Route_To_A_Single_Post_Page

Create dynamic routes to a single post page