Commit graph

25 commits

Author SHA1 Message Date
Ahmad Al Maaz 26f0379afa refactor: use formatDate util 2021-06-29 16:55:42 +03:00
Timothy Lin cbaade5c7e chore: sync with master v0.4.0 2021-06-24 00:02:00 +08:00
Timothy Lin c479867650 chore: update to next 11 and tailwind 2.2 2021-06-23 18:32:29 +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
Teng b930f53e7c Remove Unexpected File 2021-06-18 18:12:12 +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 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 fd4c7033c7 chore: remove redundant wordCount, readingTime contains word count 2021-05-29 16:45:10 +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 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
Dr. Derek Austin 67acb0c494 Run Prettier (npx prettier --write .) 2021-05-10 17:07:13 -05: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 84a2bceb13 fix: exclude draft posts when creating tag paths 2021-01-31 10:13:31 +08:00
Timothy 18533065ed fix image link and xml blog path 2021-01-19 22:03:09 +08:00
Timothy 2b2ea2747c fix broken rss guid and link 2021-01-19 21:40:24 +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 fdda4c2042 use custom kebabcase function 2021-01-16 18:07:08 +08:00
Timothy 1c2f40424b add tag based rss feed 2021-01-13 18:35:20 +08:00
Timothy fba98a0b74 fix twitter and github post links 2021-01-10 16:55:38 +08:00
Timothy Lin 9a6f4efbb8 Upload starter template 2021-01-09 17:50:45 +08:00