Commit Graph

1105 Commits

Author SHA1 Message Date
5784d38829 chore: update katex version 2021-05-29 17:23:34 +08:00
654589b5cc Merge pull request #59 from timlrx/feat/pagination
Feat/pagination
2021-05-29 17:04:05 +08:00
fd4c7033c7 chore: remove redundant wordCount, readingTime contains word count 2021-05-29 16:45:10 +08:00
e9befb035d chore: remove unnecessary provider and dependencies 2021-05-29 16:39:40 +08:00
2e5a3a5a9a fix: render paginate only if more than 1 page 2021-05-29 16:13:01 +08:00
88096a536b fix: restore search for blog page 2021-05-29 16:08:22 +08:00
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
670522ebe5 docs: add blog post for v1 2021-05-26 20:11:55 +08:00
900669acfd refactor: use MDXLayoutRenderer component 2021-05-26 19:36:56 +08:00
89d21c3a59 Merge pull request #56 from timlrx/fix/slug-path
fix: slug links for nested posts
2021-05-26 19:21:49 +08:00
52ff63576b fix: slug links for nested posts 2021-05-26 19:20:24 +08:00
8914349256 feat: add MDXLayoutRenderer component 2021-05-26 00:11:20 +08:00
37527331d4 feat: add new post layout 2021-05-25 23:53:41 +08:00
9a22d44439 chore: remove tailwind jit package 2021-05-25 23:53:04 +08:00
3c3cb9cbeb fix: start script to work with tailwind jit 2021-05-25 23:46:09 +08:00
9b042636f5 0.3.3 2021-05-23 13:03:28 +08:00
5cee35a189 chore: fix readme badge links 2021-05-23 12:55:28 +08:00
4302662e34 chore: add social badges to readme 2021-05-23 12:47:28 +08:00
ba417aadf0 Merge pull request #53 from timlrx/fix/jit
fix: jit config
2021-05-23 12:20:44 +08:00
d36a4aad91 fix: jit config 2021-05-23 11:49:22 +08:00
9978910cca feat: copy code button 2021-05-20 23:57:13 +08:00
c734391094 fix: update scripts to work with tailwind jit in dev 2021-05-20 23:56:44 +08:00
159ecd7d2b Merge pull request #49 from DoctorDerek/fix-error-if-twitter-undefined-in-siteMetadata
fix: make siteMetadata.twitter optional to fix TypeError
2021-05-20 09:21:28 +08:00
a9170a95dd fix: make siteMetadata.twitter optional to fix TypeError 2021-05-19 14:39:36 -05:00
9b51d0447d Merge branch 'master' into v1 2021-05-19 23:16:24 +08:00
ed290bfcdd feat: support multi-author blog post 2021-05-18 23:46:30 +08:00
8dbcf16fc2 Merge pull request #47 from ahmadbilalse/fix-theme-toggle
fix: correct invalid theme toggle on first load
2021-05-17 11:24:10 +08:00
a4d2d47d88 fix: correct invalid theme toggler on first load 2021-05-17 07:01:08 +07:00
41850ef6f0 chore: add 2nd author example 2021-05-16 16:06:55 +08:00
b380a6f15a feat: map author details to blog post 2021-05-16 15:56:39 +08:00
84f00d6fc6 feat: add AuthorLayout template 2021-05-16 15:36:01 +08:00
f3e83619cc feat: create author data template 2021-05-16 15:22:04 +08:00
8037abd52a chore: upgrade postcss version 2021-05-16 14:23:00 +08:00
95baf41f88 0.3.2 2021-05-11 22:57:35 +08:00
a7ad8ad2c6 Merge pull request #44 from timlrx/fix/windows
fix: windows compatible file path
2021-05-11 22:50:00 +08:00
3c2720a84b fix: windows compatible file path 2021-05-11 22:34:26 +08:00
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
6880a4d49f Merge pull request #42 from DoctorDerek/run-prettier
chore: prettier
2021-05-11 22:00:43 +08:00
67acb0c494 Run Prettier (npx prettier --write .) 2021-05-10 17:07:13 -05:00
55f3d824e4 0.3.1 2021-05-08 14:01:20 +08:00
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
69a41932e7 0.3.0 2021-05-01 10:50:25 +08:00
a8b302b8af Merge pull request #36 from timlrx/nextjs-10.2
Nextjs 10.2 with automatic webfont optimization
2021-05-01 10:37:12 +08:00
52e1fcd008 feat: use nextjs 10.2 optimized font loading 2021-05-01 10:33:58 +08:00
3b0172a11d chore: upgrade to nextjs 10.2.0 2021-05-01 10:09:39 +08:00
6d6099fc7b Merge pull request #34 from Music47ell/master
Fix a typo in ListLayout and PostLayout
2021-04-27 08:17:19 +08:00
3863b82138 Merge pull request #33 from saqibameen/patch-1
Fix typo
2021-04-27 08:16:26 +08:00
13c242454e Fix a typo in ListLayout and PostLayout 2021-04-26 22:49:47 +03:00
d6da9bdb48 Fix typo 2021-04-26 10:11:03 -06:00
699b9e6b43 0.2.1 2021-04-24 15:54:35 +08:00