Startups And Code by John Mann

Startups And Code by John Mann

Previous and Next for Next js

John Mann's avatar
John Mann
Sep 13, 2020
∙ Paid

So I wrote a node script to update my previous and next for every blog entry and then it would write it out in markdown as part of the header, so it would look like this:

---
title: "Practice does not make perfect"
date: "2018-04-15"
next: "simplicity-over-complex"
prev: "building-teams-and-careers"
---

And it would sort my posts by date, so it would aut…

User's avatar

Continue reading this post for free, courtesy of John Mann.

Or purchase a paid subscription.
© 2026 John Mann · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture