My personal blog site. It is implemented on Next.js.
- node v16
yarn install
yarn start
Now open http://localhost:3000 to access the development app.
Put .mdx
and .ipynb
file under the pages/blog directory. Each file needs to satisfy the following condition depending on its extension:
.mdx
- Export metadata as
metadata
. - Export layout as default.
- Export metadata as
.ipynb
- Add
.metadata.post_metadata
- Add
See src/posts.ts for the details of the interface of the metadata object.
Every push to workspace
will deploy a new version of this site to GitHub Pages. Deploys happen automatically.