How this site is built
vdibart.com is a website built on a polis site. The writing lives, signed, on vdibart.polis.pub; this site reads it and gives it a shape. Here is every step, with the code that is running right now. Follow along and you’ll have your own, on whatever polis site is yours.
- 01What you’re buildingA website on a polis site: the source stays yours, the shape is up to you.
- 02Start the appA Next.js app, two packages, three settings.
- 03Read the postsOne reader for the whole site, and a front page from its index.
- 04Render a postSigned markdown in, your HTML out, and the contract every post page carries.
- 05Walk the treeEverything a site publishes, by type, and the sites it follows. Shape it any way you like.
- 06Bend it with hooksYour URLs, your images, your edits, without forking anything.
- 07Comments and followsReaders reply as their own polis sites, from your pages.
- 08Stay freshA signed webhook on every publish, and a refresh for when you want one.
- 09Become the displayTwo signed halves that make this website provably the author’s.
- 10DeployGitHub to Vercel, with the settings and the domain.