15 Commits

Author SHA1 Message Date
Timothy Lin
04ad7617de feat: replace next-seo with custom header 2021-06-22 23:51:41 +08:00
Timothy Lin
644acb788b chore: sync with v0.3.4 2021-05-29 17:52:13 +08:00
Timothy
654589b5cc
Merge pull request #59 from timlrx/feat/pagination
Feat/pagination
2021-05-29 17:04:05 +08:00
Timothy Lin
88096a536b fix: restore search for blog page 2021-05-29 16:08:22 +08:00
Ahmad Al Maaz
847f2537c3
Add pagination support (#52)
* Add pagination support

* Change posts per page value to 10

* Change /blog/1 page to be same as /blog/
Modify canonical url to reflect current page

* Conditionally render pagination component
2021-05-26 21:56:19 +08:00
Timothy Lin
670522ebe5 docs: add blog post for v1 2021-05-26 20:11:55 +08:00
Timothy Lin
52ff63576b fix: slug links for nested posts 2021-05-26 19:20:24 +08:00
Timothy Lin
8914349256 feat: add MDXLayoutRenderer component 2021-05-26 00:11:20 +08:00
Timothy Lin
ed290bfcdd feat: support multi-author blog post 2021-05-18 23:46:30 +08:00
Timothy Lin
b380a6f15a feat: map author details to blog post 2021-05-16 15:56:39 +08:00
Helder Burato Berto
5e36f320df
feat: upgrade next-mdx-remote
* chore: upgrade packages

Updating packages:
- "@mapbox/rehype-prism": "^0.6.0"
- "image-size": "1.0.0"
- "next-seo": "4.24.0"
- "remark-code-titles": "0.1.2"
- "remark-footnotes": "^3.0.0"
- "eslint-config-prettier": "^8.3.0"
- "globby": "11.0.3"
- "lint-staged": "^11.0.0"
- "remark-stringify": "9.0.1"

* feat: upgrade next-mdx-remote

It adds MDXRemote and serialize breaking changes

Read more at https://github.com/hashicorp/next-mdx-remote/releases/tag/3.0.0

* fix: downgrade remark-math and rehype-katex
2021-05-11 22:05:33 +08:00
Timothy
735c954e72
Feat/sub-route (#38)
* blog subroute support
* docs: update readme and blog

Co-authored-by: mrhut10 <ahut10@gmail.com>
2021-05-08 13:58:57 +08:00
Timothy
0403eb24a8 refactor formatSlug logic 2021-01-16 18:38:45 +08:00
Timothy
8f646e3429 improve handling of draft posts 2021-01-16 18:36:25 +08:00
Timothy Lin
9a6f4efbb8 Upload starter template 2021-01-09 17:50:45 +08:00