How do i setup next / previous post buttons?

Im using the terminal theme, and I see the example site has previous / next post buttons at the bottom of a post. How can I get these?

How do I set these up in an actual .md file? Would I put next: “Title of next post” in the frontmatter?

Could you share a link to your site’s code?

I think this might be to do with what you’ve set as contentTypeName

The theme seems to only display pagination for pages of this type.

Oh yes that worked, thanks so much. It’s one thing i havent tried because I didnt think it would have any impact

I worked out this setting was significant from this line of code

I didn’t read the theme’s documentation, but since this is an unusual setup, there’s probably something written there about this.