How would you show all blog posts on the main page of the blog? I was thinking something like adding the partial pager model to the recent.cshtml in Articulate, but I am having trouble doing this.
I have the pager working with search results, but I can't get it to work with recent.cshtml. If you have 30 results, then say, after 10, then you'd have 3 pages.
Essentially I am looking to make my Recent.cshtml page to show all blog posts with the addition of the pager, and be the default page that users land on when they go to the blog link.
Show all blog posts
How would you show all blog posts on the main page of the blog? I was thinking something like adding the partial pager model to the recent.cshtml in Articulate, but I am having trouble doing this.
I have the pager working with search results, but I can't get it to work with recent.cshtml. If you have 30 results, then say, after 10, then you'd have 3 pages.
Essentially I am looking to make my Recent.cshtml page to show all blog posts with the addition of the pager, and be the default page that users land on when they go to the blog link.
My List.cshtml looks like this:
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion