Commit Graph

315 Commits

Author SHA1 Message Date
b04e3f1279 Add convertStringToHTML function to prevent RSS encoding issues
When parsing descriptions and titles with characters like '&', '<', etc. feed was broken. This regex swaps these characters with their HTML entity equivalent.
2021-06-12 11:37:28 +02:00
f3a21646ab docs: update readme 2021-06-10 00:02:59 +08:00
1b3fe80295 chore: sync with master 2021-06-09 23:42:08 +08:00
5945a72491 fix: patch vercel bug which directs user to index.xml 2021-06-09 23:37:58 +08:00
48b7b86932 docs: new features in v1 blog post 2021-06-02 22:16:33 +08:00
f1ac747da6 fix: copy button position when overflow 2021-06-02 21:47:13 +08:00
66d6c62fe8 style: adjust copy button style 2021-05-29 18:10:54 +08:00
644acb788b chore: sync with v0.3.4 2021-05-29 17:52:13 +08:00
b44e209385 fix: missing && 2021-05-29 17:49:29 +08:00
5cbb16381d 0.3.4 2021-05-29 17:27:53 +08:00
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