Now I’m learning you can limit to 5 posts loading at time. I use a Session.set to determine if to display one post or a list. How do I apply the Session.set in my postLimit route? Here is what I have so far.
The pageView is used in this way. I have a postBlock.html that functions as showing a single post or a list, using {{#if pageView 'list}} for the post list code and {{#if pageView 'single}} for a singe post.
Part of my problem why the localhost:3000/3 isn’t working in showing just 3 posts is that accessings a user’s profile page is this format localhost:3000/userName So that could be affecting what I can’t view posting using localhost:3000/3