163 Commits

Author SHA1 Message Date
Timothy
7586a8d764
Merge pull request #88 from timlrx/next11
Upgrade nextjs and tailwind dependencies
2021-06-23 18:56:35 +08:00
Timothy Lin
a66dc53240 chore: remove unused next-compose-plugins 2021-06-23 18:51:05 +08:00
Timothy Lin
e89977db49 chore: lint more folders 2021-06-23 18:45:21 +08:00
Timothy Lin
c479867650 chore: update to next 11 and tailwind 2.2 2021-06-23 18:32:29 +08:00
Timothy
1bfd8c0da4
Merge pull request #85 from aloisdg/patch-1
Use deconstructed slug
2021-06-23 17:29:04 +08:00
Aloïs de Gouvello
e68f6c38b1
Use deconstructed slug 2021-06-22 22:15:05 +02:00
Timothy
5603b0e236
Merge pull request #83 from DLevai94/patch-2
Remove /404 & /blog/[...slug] from sitemap
2021-06-20 23:04:11 +08:00
Dávid Lévai
8920e8425a
add /blog to pages 2021-06-20 16:47:56 +02:00
Timothy
360ddfcc09
Merge pull request #82 from aloisdg/patch-1
Simplify string interpolation
2021-06-20 22:28:47 +08:00
Dávid Lévai
c741e0894c
Remove /404 & /[...slug] from sitemap 2021-06-20 11:38:37 +02:00
Aloïs de Gouvello
076abee9e6
SImplify string interpolation
Quick refacto
2021-06-20 08:56:12 +02:00
Timothy
70ac88bac8
Merge pull request #73 from Music47ell/master
Swap convertStringToHTML with html-escaper
2021-06-19 18:55:37 +08:00
Ahmad Al Maaz
0119d23567 Import escape function locally from html-escaper 2021-06-19 12:02:56 +03:00
Ahmad Al Maaz
4c1b4fbd78 Swap convertStringToHTML with html-escaper module 2021-06-18 22:19:29 +03:00
Timothy
464ab08c69
Merge pull request #71 from Teng/UnexpectedFile
Remove Unexpected File
2021-06-18 18:28:42 +08:00
Teng
b930f53e7c Remove Unexpected File 2021-06-18 18:12:12 +08:00
Timothy
c0d2b8e542
Merge pull request #69 from DLevai94/patch-1
Add convertStringToHTML function to prevent RSS encoding issues
2021-06-16 23:58:03 +08:00
Dávid Lévai
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
Timothy Lin
5945a72491 fix: patch vercel bug which directs user to index.xml 2021-06-09 23:37:58 +08:00
Timothy
b44e209385
fix: missing && 2021-05-29 17:49:29 +08:00
Timothy Lin
5cbb16381d 0.3.4 2021-05-29 17:27:53 +08:00
Timothy Lin
5784d38829 chore: update katex version 2021-05-29 17:23:34 +08:00
Timothy
654589b5cc
Merge pull request #59 from timlrx/feat/pagination
Feat/pagination
2021-05-29 17:04:05 +08:00
Timothy Lin
fd4c7033c7 chore: remove redundant wordCount, readingTime contains word count 2021-05-29 16:45:10 +08:00
Timothy Lin
e9befb035d chore: remove unnecessary provider and dependencies 2021-05-29 16:39:40 +08:00
Timothy Lin
2e5a3a5a9a fix: render paginate only if more than 1 page 2021-05-29 16:13:01 +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
89d21c3a59
Merge pull request #56 from timlrx/fix/slug-path
fix: slug links for nested posts
2021-05-26 19:21:49 +08:00
Timothy Lin
52ff63576b fix: slug links for nested posts 2021-05-26 19:20:24 +08:00
Timothy Lin
3c3cb9cbeb fix: start script to work with tailwind jit 2021-05-25 23:46:09 +08:00
Timothy Lin
9b042636f5 0.3.3 2021-05-23 13:03:28 +08:00
Timothy Lin
5cee35a189 chore: fix readme badge links 2021-05-23 12:55:28 +08:00
Timothy Lin
4302662e34 chore: add social badges to readme 2021-05-23 12:47:28 +08:00
Timothy
ba417aadf0
Merge pull request #53 from timlrx/fix/jit
fix: jit config
2021-05-23 12:20:44 +08:00
Timothy Lin
d36a4aad91 fix: jit config 2021-05-23 11:49:22 +08:00
Timothy
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
Dr. Derek Austin
a9170a95dd fix: make siteMetadata.twitter optional to fix TypeError 2021-05-19 14:39:36 -05:00
Timothy
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
Ahmad Bilal
a4d2d47d88 fix: correct invalid theme toggler on first load 2021-05-17 07:01:08 +07:00
Timothy Lin
8037abd52a chore: upgrade postcss version 2021-05-16 14:23:00 +08:00
Timothy Lin
95baf41f88 0.3.2 2021-05-11 22:57:35 +08:00
Timothy
a7ad8ad2c6
Merge pull request #44 from timlrx/fix/windows
fix: windows compatible file path
2021-05-11 22:50:00 +08:00
Timothy Lin
3c2720a84b fix: windows compatible file path 2021-05-11 22:34:26 +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
6880a4d49f
Merge pull request #42 from DoctorDerek/run-prettier
chore: prettier
2021-05-11 22:00:43 +08:00
Dr. Derek Austin
67acb0c494 Run Prettier (npx prettier --write .) 2021-05-10 17:07:13 -05:00
Timothy Lin
55f3d824e4 0.3.1 2021-05-08 14:01:20 +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 Lin
69a41932e7 0.3.0 2021-05-01 10:50:25 +08:00