Skip to content

Generate paginated content on the new Razor SSG #64

Closed Answered by nukedbit
nukedbit asked this question in Q&A
Discussion options

You must be logged in to vote

Ok my bad i think i have found out how to do, for some reason dotnet watch wasent picking my changes, and i tought that route parameter werent working, i see you use it on the Page.cshtml example.

Basically i think i should use @page "/pages/{index:int?}" and generate the links to move between pages right?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Layoric
Comment options

Answer selected by nukedbit
Comment options

You must be logged in to vote
1 reply
@mythz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants